-
Notifications
You must be signed in to change notification settings - Fork 6
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
UnboundLocalError: local variable 'connectome_path' referenced before assignment #164
Comments
This may just be a release lag. With the current I also hit Traceback (most recent call last):
File "/usr/local/bin/giga_connectome", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/giga_connectome/run.py", line 127, in main
workflow(args)
File "/usr/local/lib/python3.9/site-packages/giga_connectome/workflow.py", line 90, in workflow
run_postprocessing_dataset(
File "/usr/local/lib/python3.9/site-packages/giga_connectome/postprocess.py", line 213, in run_postprocessing_dataset
gc_log.info(f"Saved to:\n{connectome_path}")
UnboundLocalError: local variable 'connectome_path' referenced before assignment in the current I don't know what your release cycle is like, but I think these bugs have been addressed but the fixes haven't yet been released. |
UnboundLocalError: local variable 'connectome_path' referenced before assignment
I would like to quickly touch upon the release cycle - the JOSS submission was a long time ago, when we completed some major data processing. At that time, we did have everything updated. However it took a few months before review started. As a collaboration aims to integrate new fMRIPrep versions and better understanding of downstream use cases, I started working on 0.6.x with a new output layout with community feedbacks. The user group is not huge so I don't have a release cycle in mind. |
Are you thinking 0.5 or 0.6 (or something else) for the JOSS publication? |
0.5! |
Okay, I'll rename this issue to reflect a 0.5 fix 👍 |
What version of the bids app were you using?
0.5.1.dev0+gd97c669.d20240412 / docker://bids/giga_connectome@sha256:8b43fb8d198cc31f7cce757fa83ca98f4cf23b5c57800a8c876043b4341d4e7e
Describe your problem in detail.
Running
docker run --rm -it -v $PWD:$PWD bids/giga_connectome:latest $PWD/fmriprep $PWD/docker participant --atlas Schaefer20187Networks
ona filetree that looks like this
this `dataset_description.json`
I get
this output
What command did you run?
docker run --rm -it -v $PWD:$PWD bids/giga_connectome:latest $PWD/fmriprep $PWD/docker participant --atlas Schaefer20187Networks
from/Users/jon.clucas/JOSS
Describe what you expected.
Either success or an error relating to the inputs provided.
I think
giga_connectome/giga_connectome/postprocess.py
Line 220 in f67c572
if I have any
images
here:giga_connectome/giga_connectome/postprocess.py
Line 121 in f67c572
The text was updated successfully, but these errors were encountered: