-
Notifications
You must be signed in to change notification settings - Fork 17
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
mincreshape with -dimrange error in 3D volumes #18
Comments
Here's the full error output: "python2.7 /opt/APPIAN/Launcher.py -s "/adni" -t "/adni/out" --no-results-report --no-dashboard ";/
mincresample -clobber -like /opt/beast-library-1.0/union_mask.mnc /opt/APPIAN//Atlas/MNI152/mni_icbm152_t1_tal_nlin_asym_09c.mnc /opt/APPIAN//Atlas/MNI152/mni_icbm152_t1_tal_nlin_asym_09c_rsl.mnc Standard error: 190214-17:40:28,138 workflow INFO: |
I think I know what's causing the problem. Is the PET image you are trying to process a 3D volume? I think it's crashing because the mincreshape command was expecting a 4D image with a time dimension. I can change it so that this step is skipped if a 3D image is provided. |
Hi, That's exactly what I'm doing. |
Ok great. I've made the fix and am testing it right now. I'll push the change shortly and let you know. |
Okay, I pushed a new version to tffunck/appian:latest-dev. Let me know if this solves the problem for you and I'll close the issue. Essentially, the stage where it was crashing was redundant for your data. The petVolume node is used to average over later frames of the 4D PET image to create a 3D volume that can be used for co-registration. |
So, I tried to run with the last version and it gives the same error =/
190219-16:41:55,669 interface INFO: 190219-16:45:31,117 workflow INFO: |
Sorry I made a silly mistake in my bug fix. I'm going to add a 3D image to my test data so that I can catch these mistakes myself. I'll have a new version on docker probably by the end of they, but tomorrow at the latest. |
Ok I pushed new changes to tffunck/appian:latest-dev (and tested it on some 3D PET images this time), so it should work. Please let me know how it goes! Thomas |
Hi Thomas, I am a colleague of Guilherme Povala (creator of this thread). Following your latest reply and update, we have been trying to implement a APPIAN pipeline using 3D PET images but still found some issues. The command I am running is: See bellow the detailed report printed by APPIAN:
The input images we used are from ADNI Database. Here is a link to the folder structure we are currently getting the error: https://we.tl/t-DeNOSM4gRU (this link is temporary, let us know if you have any trouble downloading) Finally, can you send us the 3D images and folder structures you used to test the latest versions of APPIAN? We suspect the error may be coming from the header structure of our image files. Thank you very much for your time. We hope to hear from you soon. |
Hi again,
When I try to run the default Launcher.py, it gives an error in the mincreshape call:
Standard error:
Unknown image dimension "time"
Return code: 1
Interface ReshapeCommand failed to run.
Interface pet3DVolume failed to run.
It probably happens because of the -dimrange 'time=0,1' parameter.
Could it be optional?
APPIAN/Initialization/initialization.py
Line 426 in 800f60d
The text was updated successfully, but these errors were encountered: