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

Use create_dataset_description instead of save_software_versions in the HCP pipelines #191

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pipelines/hcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from PUMI.utils import mist_modules, mist_labels, get_reference
from PUMI.pipelines.func.func2standard import func2standard
from PUMI.pipelines.multimodal.image_manipulation import pick_volume
from PUMI.engine import save_software_versions
from PUMI.engine import create_dataset_description
import traits
import os

Expand Down Expand Up @@ -468,7 +468,7 @@ def hcp(wf, bbr=True, **kwargs):
wf.connect(predict_pain_sensitivity_rcpl_wf, 'out_file', collect_pain_predictions_wf, 'rcpl_out_file')

wf.write_graph('HCP-pipeline.png')
save_software_versions(wf)
create_dataset_description(wf, pipeline_description_name='HCP-pipeline')


hcp_app = BidsApp(
Expand Down
4 changes: 2 additions & 2 deletions pipelines/hcp_lr_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from PUMI.utils import mist_modules, mist_labels, get_reference
from PUMI.pipelines.func.func2standard import func2standard
from PUMI.pipelines.multimodal.image_manipulation import pick_volume
from PUMI.engine import save_software_versions
from PUMI.engine import create_dataset_description
import traits
import os

Expand Down Expand Up @@ -453,7 +453,7 @@ def hcp(wf, bbr=True, **kwargs):
wf.connect(predict_pain_sensitivity_rcpl_wf, 'out_file', collect_pain_predictions_wf, 'rcpl_out_file')

wf.write_graph('HCP-pipeline.png')
save_software_versions(wf)
create_dataset_description(wf, pipeline_description_name='HCP-LR-pipeline')


hcp_app = BidsApp(
Expand Down
Loading