-
Notifications
You must be signed in to change notification settings - Fork 3
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
Loading an Atlas-Annotation is irritating #26
Comments
Thanks for pointing this out! File loading does make some assumptions about filenames, which may not always work properly. What's strange is that the annotations do appear to have loaded in your first image, even though the file doesn't should up in the dropdown box. I am trying to reproduce this on a folder that I think has a similar structure to yours, but it's working for me at least. The folder contains:
which I am loading by:
There could be something funny with how the files are being detected in your first scenario, and your second scenario probably works because the import puts the files in an expected structure. Could you post your console output? We can see how the files are being detected/loaded to troubleshoot. |
Hm, I don't have a labels.csv file and I don't know how it should look like. I also don't know how to create json label file the ABA provided, but this will be a problem in the future. When I use the "region_ids.csv" instead it doesn't load at all:
|
I used the json-file instead and it worked. But I never saw a command without "--img" in the beginning. This is pretty new for me:
Looks pretty good and the LUT is grey! So what is the difference between "--img" and non a parameter-tag? |
Thanks for posting your stack trace. I can see now why loading the In the meantime, you could change these headers in the
Yeah this is new, where the I'm still trying to troubleshoot your initial issue where the registered images don't show up. Are there any console errors or warnings when you load the files that way? |
Also posted a PR (#27) with a fix for the labels reference file loading. |
@SaibotMagd are you seeing this loading issue anymore from your first comment? I haven't been able to reproduce it exactly, though I found a related issue for files with two extensions (eg |
PR #64 fixes the |
I try to load the 25um ABA atlas into mag:
But as you can see it can't find the annotation file in the folder and so it can't bring the labels onto it.
So i run a "useless" registration:
After it finished I overwrite the new created atlasVolume.nii and annotation.nii in the newly created folder "ABA_25um_atlasVolume.nii_import" with the original once. When I load it now it works quite fine:
I know it's so wrong but it works. I don't know why this happen. I guess it could have something to do with the mag database file, but don't know.
The text was updated successfully, but these errors were encountered: