Skip to content

Commit

Permalink
fixing sub_dict/sub_group variable names after branch update
Browse files Browse the repository at this point in the history
  • Loading branch information
Biraj Shrestha authored and Biraj Shrestha committed Jul 16, 2024
1 parent b5e4131 commit 5c1eece
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CPAC/utils/configuration/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,9 @@ def set_subject(
>>> log_dir.endswith(f'{p_name}/{subject_id}')
True
"""
subject_id = sub_dict[0][0]
if sub_dict[0][1]:
subject_id += f"_{sub_dict[0][1]}"
subject_id = sub_group[0][0]
if sub_group[0][1]:
subject_id += f"_{sub_group[0][1]}"
p_name = check_pname(p_name, pipe_config)
log_dir = os.path.join(
pipe_config.pipeline_setup["log_directory"]["path"], p_name, subject_id
Expand Down

0 comments on commit 5c1eece

Please sign in to comment.