Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Oct 6, 2023
1 parent fa277ae commit 915542f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion xcp_d/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def main():
packagename="xcp_d",
)
write_derivative_description(
config.execution.bids_dir,
config.execution.fmri_dir,
config.execution.output_dir / "xcp_d",
)

Expand Down
4 changes: 2 additions & 2 deletions xcp_d/cli/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def build_workflow(config_file, retval):
build_log.warning(msg)

# Please note this is the input folder's dataset_description.json
dset_desc_path = config.execution.bids_dir / "dataset_description.json"
dset_desc_path = config.execution.fmri_dir / "dataset_description.json"
if dset_desc_path.exists():
from hashlib import sha256

Expand Down Expand Up @@ -95,7 +95,7 @@ def build_workflow(config_file, retval):
# Build main workflow
init_msg = f"""
Running XCP-D version {config.environment.version}:
* BIDS dataset path: {config.execution.bids_dir}.
* BIDS dataset path: {config.execution.fmri_dir}.
* Participant list: {subject_list}.
* Run identifier: {config.execution.run_uuid}.
* Output spaces: {config.execution.output_spaces}."""
Expand Down
2 changes: 1 addition & 1 deletion xcp_d/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def init(cls):
),
)
cls._layout = BIDSLayout(
str(cls.bids_dir),
str(cls.fmri_dir),
database_path=_db_path,
reset_database=True,
indexer=_indexer,
Expand Down

0 comments on commit 915542f

Please sign in to comment.