Skip to content

Commit

Permalink
Fix re string warning in dir pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
smeisler authored Sep 6, 2024
1 parent 739d900 commit 3feb331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingress2qsirecon/utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"MNI_ref": ["MNINonLinear", "T1w_restore_brain.nii.gz"],
},
"MNI_TEMPLATE": "MNI152NLin6Asym",
"DIR_PATTERN": re.compile("(\d+)"),
"DIR_PATTERN": re.compile(r"(\d+)"),
},
"ukb": {
"files": {
Expand All @@ -46,7 +46,7 @@
# "MNI_ref": ["T1", "T1_unbiased_brain.nii.gz"],
},
"MNI_TEMPLATE": "MNI152NLin6Asym",
"DIR_PATTERN": re.compile("(\d+)_(\d+)_(\d+)"),
"DIR_PATTERN": re.compile(r"(\d+)_(\d+)_(\d+)"),
},
}

Expand Down

0 comments on commit 3feb331

Please sign in to comment.