Skip to content
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

has_qsiprep_t1w is not defined #675

Open
Shade- opened this issue Jan 20, 2024 · 3 comments
Open

has_qsiprep_t1w is not defined #675

Shade- opened this issue Jan 20, 2024 · 3 comments

Comments

@Shade-
Copy link

Shade- commented Jan 20, 2024

Hello, I am testing the new 0.20.0 update.

I use FreeSurfer input and use the recon workflow with mrtrix single shell ACT.

While 0.19.1 works like a charm, I am now encountering this as soon as the pipeline loads:

  File "/usr/local/miniconda/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/local/miniconda/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/miniconda/lib/python3.10/site-packages/qsiprep/cli/run.py", line 1198, in build_recon_workflow
    retval['workflow'] = init_qsirecon_wf(
  File "/usr/local/miniconda/lib/python3.10/site-packages/qsiprep/workflows/recon/base.py", line 99, in init_qsirecon_wf
    single_subject_wf = init_single_subject_wf(
  File "/usr/local/miniconda/lib/python3.10/site-packages/qsiprep/workflows/recon/base.py", line 208, in init_single_subject_wf
    anat_ingress_node, available_anatomical_data = init_highres_recon_anatomical_wf(
  File "/usr/local/miniconda/lib/python3.10/site-packages/qsiprep/workflows/recon/anatomical.py", line 162, in init_highres_recon_anatomical_wf
    if has_qsiprep_t1w:
NameError: name 'has_qsiprep_t1w' is not defined

I suppose Python 3.10 changed something in global variables declaration.

@dcoynel
Copy link

dcoynel commented Feb 7, 2024

I have the same issue.

I also want to run recon with the "mrtrix_singleshell_ss3t_ACT-hsvs" spec.

@julfou81
Copy link

julfou81 commented Feb 7, 2024

Hi there,

Same issue here when testing the reconstruction workflow: mrtrix_multishell_msmt_ACT-hsvs with qsiprep singularity image version 0.20.0.
No issue for the same data with the singularity image of version 0.19.0

@chiuhoward
Copy link

Saw that @mattcieslak is working on this in #705, but I also just encountered this message when running mrtrix_singleshell_ss3t_ACT-hsvs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants