Task #12123 (closed)
Opened 10 years ago
Closed 10 years ago
Bug: ImageJ plugin exporter and the macro language
Reported by: | rleigh | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Bio-Formats | Version: | 5.0.0 |
Keywords: | n.a. | Cc: | l.maier@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Splitting during export results in an incorrect string in the macro recorder:
run("Bio-Formats Exporter", "save=/tmp/2.ome.tif write compression=Uncompressed"); run("Bio-Formats Exporter", "save=/tmp/3.ome.tif compression=Uncompressed"); run("Bio-Formats Exporter", "save=/tmp/4.ome.tif write write write compression=Uncompressed");
Line 1: Split C
Line 2: No splitting
Line 3: Split Z, C and T
So for each splitting option, the string "write" is added to the string. It does not appear possible to control the splitting via the macro language (unsure if this is just in the recorder when output, or if it applies to invoking as well). I can't see any obvious instance of "write" in the plugin code, so not sure exactly where this is coming from.
Testing exporting via a macro containing the above lines, if "write" is omitted, there is no splitting. However, one instance of "write" results in splitting in Z, C and T. "splitC", "splitC=True" etc. do not have any effect that I can tell, despite being the names used in Exporter.java. Ideally, these variables should be settable when invoked using a macro.
Change History (1)
comment:1 Changed 10 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
Fixed by https://github.com/openmicroscopy/bioformats/pull/986, courtesy of Jan Eglinger.