-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse names with a "-" #29
Comments
Hi @manerotoni , I just tried to replicate your issue with some renamed TIFFs, but for me, the pattern was detected normally (one would just have to assign both the first and second pattern to channel): So I'm thinking it might have something to do with the metamorph files. Did you also include the .nd file in the first step or just the .stk files? Could you provide:
Best, |
Hello David, https://owncloud.gwdg.de/index.php/s/2uojGuAKsDCZeuK You will find 3 directories with each an example of loading. either tif files or stk files. The issue with the Automatic Loader, and identifying the wrong tiles and channels seems specific to stk files. Antonio |
Hi Antonio, Thanks for all the additional info and data! The way I understand it now, these are probably 2 separate problems:
Best, |
Dear David, yes it is how you say it. Now I understand why "-" is not allowed, it makes sense. Important is whether one can then script the manual loader if "escaping" some of the characters. Best, Antonio |
Just a note. I am not sure if for the stk files it is a pure problem of reading metadata there is also something with the names. For the automatic loading we have following cases:
Greetings Antonio |
Hello David, Antonio |
Hi Antonio, Just a quick update on the .stk files in the automatic loader. this is how it looks in BDV after stitching: Regardless, I will have a look what is going wrong if you give it the .stk files and also if we can read stage positions - that would reduce the amount of comparisons we have to do for stitching. Regarding the manual loader: I've checked the possibility to put channel names in quotes to escape the range specification - I think this is a minimal change that still fixes the problem without causing problems for other users: I think this should also work in macros, where you would write something like: Best, |
Hi @hoerldavid, can we close this, is it solved? |
@hoerldavid wrote:
It would be great if the community could agree on using a common file name pattern implementation. For example, bio-formats provides a IMHO, it's a pity that you (and others in other places) felt the need to re-implement the same thing, but all implementations differ slightly in how they work. That contributes to some degree of confusion on the user side. |
Hello,
I found a small issue with Define Dataset plugin [Plugins > BigStitcher > BatchProcessing > Define Dataset...]. I think it has something to do how it parse channels and their names. I have a metamorph file with a global .nd files and several stk files.
image_w1conf561-488dual_s1.stk, first channel, tile 1
image_w2conf488-488dual_s1.stk, 2nd channel, tile 1
image_w1conf561-488dual_s2.stk, first channel, tile 2
, ...
The automatic loader does not properly works for this. It does not ask to specify which patterns is for channel or tiles and one obtains a 30 tiles 4 channels result instead of 30 tiles 3 channels.
The manual loader can't parse channels named 1conf561-488dual or 2conf488-488dual. The problem is the "-" as with other names it works.
One could rename the channels, but all files are connected to a meta nd files and this mess up the reading with other tools.
Would it be possible to make the parser also accept more special characters?
Thanks
Antonio
The text was updated successfully, but these errors were encountered: