Skip to content

Commit

Permalink
Merge pull request #3 from PennLINC/fix/bids_dwi_names
Browse files Browse the repository at this point in the history
Fix/bids dwi names
  • Loading branch information
smeisler authored Sep 6, 2024
2 parents f24ce66 + 1efca18 commit 0dafda2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions ingress2qsirecon/utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ def make_bids_file_paths(subject_layout: dict) -> dict:
mni_template = str(subject_layout["MNI_template"])

# BIDS-ify required files
bids_dwi_file = os.path.join(bids_base, "dwi", sub_session_string + "_dwi.nii.gz")
bids_bval_file = os.path.join(bids_base, "dwi", sub_session_string + "_dwi.bval")
bids_bvec_file = os.path.join(bids_base, "dwi", sub_session_string + "_dwi.bvec")
bids_b_file = os.path.join(bids_base, "dwi", sub_session_string + "_dwi.b")
bids_bmtxt_file = os.path.join(bids_base, "dwi", sub_session_string + "_dwi.bmtxt")
bids_dwiref_file = os.path.join(bids_base, "dwi", sub_session_string + "_dwiref.nii.gz")
bids_dwi_file = os.path.join(bids_base, "dwi", sub_session_string + "_space-T1w_desc-preproc_dwi.nii.gz")
bids_bval_file = os.path.join(bids_base, "dwi", sub_session_string + "_space-T1w_desc-preproc_dwi.bval")
bids_bvec_file = os.path.join(bids_base, "dwi", sub_session_string + "_space-T1w_desc-preproc_dwi.bvec")
bids_b_file = os.path.join(bids_base, "dwi", sub_session_string + "_space-T1w_desc-preproc_dwi.b")
bids_bmtxt_file = os.path.join(bids_base, "dwi", sub_session_string + "_space-T1w_desc-preproc_dwi.bmtxt")
bids_dwiref_file = os.path.join(bids_base, "dwi", sub_session_string + "_space-T1w_dwiref.nii.gz")

bids_file_paths = {
"bids_dwi": Path(bids_dwi_file),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Ingress2QSIRecon"
version = "0.1.1"
version = "0.1.2"
description = "Tool to ingress data from other pipelines for use in QSIRecon"
authors = ["Steven Meisler <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 0dafda2

Please sign in to comment.