From 1fa1f0596323ca1efc65b7fc8d273d4ea2a122cc Mon Sep 17 00:00:00 2001 From: Kevin Hoffschlag <72939508+khoffschlag@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:46:51 +0200 Subject: [PATCH] Use create_dataset_description instead of save_software_versions in the HCP pipelines --- pipelines/hcp.py | 4 ++-- pipelines/hcp_lr_only.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelines/hcp.py b/pipelines/hcp.py index c7e97b6..787ff44 100644 --- a/pipelines/hcp.py +++ b/pipelines/hcp.py @@ -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 @@ -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( diff --git a/pipelines/hcp_lr_only.py b/pipelines/hcp_lr_only.py index 835dc5e..123c391 100644 --- a/pipelines/hcp_lr_only.py +++ b/pipelines/hcp_lr_only.py @@ -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 @@ -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(