-
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
hippunfold simple use case returns error #168
Comments
So, |
What is the output you get if you run the following (from within the hippunfold directory):
It should just output all the rules it will run, but not actually run anything. Let me know if you get an error there. Note that the test data here: https://github.com/khanlab/hippunfold/tree/master/test_data |
it still gives the same error with
|
@jordandekraker : Did you also get the same error while running it on the test_data ? @akhanf : It could be that you are running hippunfold with singularity or docker, so maybe that's why you don't get this error. |
Hmm if the dry run isn't working then some required file from the workflow is missing or can't be found. The dry run should work even if not using singulairty/docker. The only difference in my dev environment from yours is I am using poetry to install instead of pip install, but both should work (conda/pip is used in the dockerfile). Can you paste the full output from the dry run with --debug-dag? Also, did you run |
Nope, I did not run I tried this:
But it still says that HIPPUNFOLD_CACHE_DIR is not defined.
|
Ah yes I see now that the current instructions don't state this is needed, sorry we need to update that! This is likely the root of the error. Re: it not finding the env var, that is strange, could something be resetting your environment? One alternative to try:
|
perfect, the above trick looks to be downloading it to the desired destination. |
I think for future calls to hippunfold to recognize this cachedir, you'll want to run
I'll add a bit of text on this in the Documentation's Contributors section. |
download with |
Alright, the command below was not successful running on my data:
|
I also included the debug option as @akhanf was asking earlier: |
are you running on MacOS by any chance? This looks like the same error from #165 |
Some stderr output might not make it into the snakemake log - but it looks like maybe the run_inference step is failing? |
@jordandekraker : it is all running on Ubuntu
and comps0603 has 400 GB ram. @akhanf : attached is the log file. Apparently a python package |
Looks like torch is installed for you (looking at your python environment), so not sure why you are getting that error, but likely some conflict in dependencies. Given the problems you're having with setting up the environment, I recommend you run from the hippunfold singularity container - either with the instructions on the docs, or if you want to be able to edit the workflow you can do this:
The other possible issues could GPU/CUDA related (it may be the issue you are currently facing), and could be avoided by disabling the GPU when you run hippunfold: |
this was indeed not true anymore, since I had re-generated my conda environment laplac at some point, which was missing Now, ... will report the results here after (hopefully) a successful run. |
As a summary:
thanks a lot for the step-by-step debugging here! It was amazing to get it run with @akhanf & @jordandekraker |
Looks great! |
all with pleasure :) |
Hi all,
having the following data structure:
I have called this command:
$ hippunfold test_data test_out participant --modality T1w --cores 8 --use-singularity
which resulted in following error:
It looks like hippunfold complains about missing *gii files.
The error was identical while trying to run the test data set.
Can anyone else reproduce this error, ie. using the test data set?
Provided is my python environment laplac, at which hippunfold was installed as instructions recommend:
laplac.txt
The text was updated successfully, but these errors were encountered: