Skip to content

Commit

Permalink
🚸 Handle empty creds_path
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Jan 29, 2021
1 parent 5aed1ac commit d7cd96e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CPAC/pipeline/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,8 @@ def initiate_rpool(wf, cfg, data_paths):

part_id = data_paths['subject_id']
ses_id = data_paths['unique_id']
if not data_paths.get('creds_path'):
data_paths['creds_path'] = ''

unique_id = f'{part_id}_{ses_id}'

Expand Down

0 comments on commit d7cd96e

Please sign in to comment.