You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It should be possible to swap dimensions when reading an image in Bio-Formats using option args, e.g. --dims XYTCZ, since #725
However, it doesn't work because of some confusion between the option name: --dims (for parsing) and --swap (serialized in the project).
Consequently, to see the effect in a project you need to open the JSON in a text editor and do a find and replace for all instances of --swap to become --dims.
To Reproduce
Steps to reproduce the behavior:
Create a project
Import a multidimensional image using Bio-Formats, with --dims XYTCZ or similar
Open the image; the dimensions aren't swapped
Check the project.qpproj file and look for instances of --dims... it won't be there, rather --swap will be instead.
Expected behavior --dims should be stored in the project, when it is set as an optional arg.
Desktop (please complete the following information):
Bug report
Describe the bug
It should be possible to swap dimensions when reading an image in Bio-Formats using option args, e.g.
--dims XYTCZ
, since #725However, it doesn't work because of some confusion between the option name:
--dims
(for parsing) and--swap
(serialized in the project).Consequently, to see the effect in a project you need to open the JSON in a text editor and do a find and replace for all instances of
--swap
to become--dims
.To Reproduce
Steps to reproduce the behavior:
--dims XYTCZ
or similar--dims
... it won't be there, rather--swap
will be instead.Expected behavior
--dims
should be stored in the project, when it is set as an optional arg.Desktop (please complete the following information):
Additional context
This was first noticed when investigating https://forum.image.sc/t/qupath-imagej-codex-swap-z-and-marker-channels/58565/15
Fixing this line might be all it takes:
https://github.com/qupath/qupath/blob/v0.3.2/qupath-extension-bioformats/src/main/java/qupath/lib/images/servers/bioformats/BioFormatsImageServer.java#L1609
The text was updated successfully, but these errors were encountered: