Skip to content

Commit

Permalink
Merge pull request #191 from pni-lab/no-more-save_software_versions
Browse files Browse the repository at this point in the history
Use create_dataset_description instead of save_software_versions in the HCP pipelines
  • Loading branch information
spisakt authored Jan 17, 2025
2 parents 07d8f48 + 1fa1f05 commit 04d0ca2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 04d0ca2

Please sign in to comment.