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

🐛 Longitudinal pipeline: 'Configuration' object has no attribute 'subject_id' #2156

Open
2 tasks
shnizzedy opened this issue Oct 15, 2024 · 0 comments
Open
2 tasks

Comments

@shnizzedy
Copy link
Member

shnizzedy commented Oct 15, 2024

Describe the bug

	 Connecting brain_extraction_T2...
Traceback (most recent call last):
  File "/code/run.py", line 833, in <module>
    raise exception
  File "/code/run.py", line 827, in <module>
    run_main()
  File "/code/run.py", line 796, in run_main
    exitcode = CPAC.pipeline.cpac_runner.run(
  File "/code/CPAC/pipeline/cpac_runner.py", line 425, in run
    run_T1w_longitudinal(sublist, c)
  File "/code/CPAC/pipeline/cpac_runner.py", line 209, in run_T1w_longitudinal
    anat_longitudinal_wf(subject_id, sub_list, cfg)
  File "/code/CPAC/longitudinal_pipeline/longitudinal_workflow.py", line 467, in anat_longitudinal_wf
    rpool.gather_pipes(workflow, config)
  File "/code/CPAC/pipeline/engine.py", line 957, in gather_pipes
    outputs_logger = getLogger(f'{cfg["subject_id"]}_expectedOutputs')
  File "/code/CPAC/utils/configuration/configuration.py", line 197, in __getitem__
    return getattr(self, key)
AttributeError: 'Configuration' object has no attribute 'subject_id'

Expected behavior

  • longitudinal pipeline isn't impossible to launch

Acceptance criteria

  • longitudinal pipeline launches successfully

C-PAC version

1.8.7.dev

Additional context

Reported by @Shinwon Park on Slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant