Skip to content

Instantly share code, notes, and snippets.

View chris-allan's full-sized avatar

Chris Allan chris-allan

View GitHub Profile
@chris-allan
chris-allan / showinf.py
Last active August 29, 2015 14:08
Jython version of some showinf functionality
#!/usr/bin/env jython
# encoding: utf-8
"""
Dumps a basic set of metadata for an image file using Bio-Formats.
Copyright (C) 2014 Glencoe Software, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@chris-allan
chris-allan / test_annotation_speed.py
Last active September 18, 2015 13:33
Test performance of annotation queries
#!/usr/bin/env python
# encoding: utf-8
"""
Tests performance of various annotation queries.
Copyright (C) 2015 Glencoe Software, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@chris-allan
chris-allan / plate-pixels-files.sh
Created June 5, 2018 11:07
Print out OMERO binary repository paths for Plate data
#!/bin/bash
# Prints out OMERO binary repository paths for data associated with a Plate
#
# Copyright (C) 2018 Glencoe Software, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this
@chris-allan
chris-allan / pymoduleversions.py
Created July 11, 2018 11:36
Print out important CellProfiler Python module versions
# -*- coding: utf-8 -*-
#
# Copyright (c) 2018 Glencoe Software, Inc. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD
# License which accompanies this distribution. The full text of the license
# may be found at http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,