-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error during preprocessing and InhoCorrection with RABIES #356
Comments
Hi, something is likely wrong with the minc-toolkit package. Does this file exist /tmp/tmp.qd7HezTsWT/modelfile.mnc? Unfortunately we can't guarantee reproducible behavior of RABIES without using a container. You may try debugging your minc-toolkit installation. Have you tried |
This error is from an IO component of ANTs. Note that the containers for RABIES use ANTs/2.5.0 and we have not tested/validated 2.5.1 |
Following up, this is probably the origin of your issues: The dependencies is minc-toolkit-v2 >= 1.9.18, In particular, the environment configuration So, fixing this immediate bug would be |
Yes, the file exists. Additionally, is there way to assign the /tmp folder to another directory? The mnc files are filling up our /tmp partition that doesn't hold much space (~30GB). We'd like to assign the /tmp output to another larger directory where those files are stored during processing.
Yes, execution works running error_check_rabies. However, it doesn't run the inhocor steps due to the token data.
My apologies. I meant to type minc-toolkit-v2 instead of minctools. I installed the toolkit based on these instructions. https://bic-mni.github.io/
Set the MINC_FORCE_V2=1, and some of the steps producing the mnc files are now working. However, I now receive this message when minc_anlm attempts to run during preprocessing:
-g |
How are you enabling the minc-toolkit-v2 commands in your terminal environment. |
Okay, I added this line in .bashrc
However, the instructions from ----> https://bic-mni.github.io/ describe running the .sh file
It contains the following:
Running it now, i still get crash reports while running InhoCorrection One of those exports command for ANTS calls old versions of those commands. For antsRegistration:
At this point, since I found a what seems to be a workaround with #303, no need at this point to running it locally. It runs fine with the singularity container. Thank you for your help. -g |
This is what I suspected, your MINC environment wasn't completely setup. However, it doesn't say "run" the file. It says do To use the newer ants, you will also need to prepend your ANTs install to PATH after the MINC line: |
Thank for your suggestions. I put those lines of code in the home .bashrc file and added the 2.5.0 ants in the path. I still get an error, but I think it is not related to minctoolkit. Looks like there is an issue with a missing command called parallel from the structural-preprocessing.sh: line 138 We are using Ubuntu 20.04. Is this the same command 'parallel' one could install from the Ubuntu repository? -g
|
Gnu-parallel is a dependency. |
Ran into issue running preprocessing with Rabies.
Running it locally. It skips the inhocorrection step altogether, but continues to run. I halted the processing, so the log file attached isn't complete but shows the message.
I'm running it locally due to the ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS issue #303 running it with singularity container.
I cloned the latest version from Github and used the setup file to install in a python virtual environment.
The dependencies are all installed locally: minctools 1.9.18, ANTS 2.5.1, AFNI, and FSL.
Here is were errors begin:
rabies_preprocess_copy.log
Interestingly enough, I receive the same error with an installment of rabies from PyPi and attempt to preprocess.
Thanks.
-g
The text was updated successfully, but these errors were encountered: