Skip to content

Commit 1492e44

Browse files
author
LeeKamentsky
committed
Merge pull request #20 from caspervdw/jar-update
This checks out OK - it passes both the bioformats unit tests and CellProfiler's unit tests with the updated Jar. Thanks.
2 parents b157aae + 84a1835 commit 1492e44

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

bioformats/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
_jars_dir = os.path.join(os.path.dirname(__file__), 'jars')
2424

25+
JAR_VERSION = '5.0.6'
26+
2527
JARS = javabridge.JARS + [os.path.realpath(os.path.join(_jars_dir, name + '.jar'))
2628
for name in ['loci_tools']]
2729
"""List of directories, jar files, and zip files that should be added

bioformats/formatreader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ class IFormatReader(object):
9898
getDimensionOrder = jutil.make_method('getDimensionOrder',
9999
'()Ljava/lang/String;',
100100
'Return the dimension order as a five-character string, e.g. "XYCZT"')
101-
getMetadata = jutil.make_method('getMetadata',
101+
getGlobalMetadata = jutil.make_method('getGlobalMetadata',
102102
'()Ljava/util/Hashtable;',
103-
'Obtains the hashtable containing the metadata field/value pairs')
103+
'Obtains the hashtable containing the global metadata field/value pairs')
104+
getMetadata = getGlobalMetadata
104105
getMetadataValue = jutil.make_method('getMetadataValue',
105106
'(Ljava/lang/String;)'
106107
'Ljava/lang/Object;',

bioformats/jars/loci_tools.jar

6.15 MB
Binary file not shown.

0 commit comments

Comments
 (0)