Skip to content

Commit

Permalink
Don't pin to GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Dec 4, 2024
1 parent 257f2d1 commit fdccae2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ classifiers = [
dependencies = [
"neuromaps",
"nipype >= 1.8.5",
"nireports @ git+https://github.com/pennlinc/nireports.git@main",
"nireports",
"nitransforms == 24.1.0",
"niworkflows @ git+https://github.com/pennlinc/niworkflows.git@master",
"niworkflows",
"pybids >= 0.15.6",
"smriprep @ git+https://github.com/pennlinc/smriprep.git@master",
"smriprep",
"typer",
]
dynamic = ["version"]
Expand Down
7 changes: 5 additions & 2 deletions src/smripost_linc/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,12 @@ def init_single_run_wf(anat_file, atlases):

# Fill-in datasinks seen so far
for node in workflow.list_node_names():
if node.split('.')[-1].startswith('ds_'):
node_name = node.split('.')[-1]
if node_name.startswith('ds_'):
workflow.get_node(node).inputs.base_directory = config.execution.output_dir
workflow.get_node(node).inputs.source_file = anat_file

if not node_name.startswith('ds_atlas_'):
workflow.get_node(node).inputs.source_file = anat_file

return workflow

Expand Down

0 comments on commit fdccae2

Please sign in to comment.