Skip to content

Commit 267d893

Browse files
committed
poe quality
1 parent 4a643e6 commit 267d893

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

.github/dependabot.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
---
12
version: 2
23
updates:
3-
- package-ecosystem: "github-actions"
4+
- package-ecosystem: github-actions
45
# Workflow files stored in the default location of `.github/workflows`.
56
# (You don't need to specify `/.github/workflows` for `directory`.
67
# You can use `directory: "/"`.)
7-
directory: "/"
8+
directory: /
89
# Run on first of each month
910
schedule:
10-
interval: "monthly"
11+
interval: monthly
1112
# Group to submit a single PR if possible
1213
groups:
1314
github-actions:
14-
patterns:
15-
- "*"
15+
patterns: ['*']

scattr/workflow/rules/freesurfer.smk

+2-6
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ rule thalamic_segmentation:
7676
subj_dir=str(Path(bids(**inputs.subj_wildcards)).parent),
7777
output:
7878
thal_seg=str(
79-
Path(
80-
bids(root=freesurfer_dir, **inputs.subj_wildcards)
81-
).parent
79+
Path(bids(root=freesurfer_dir, **inputs.subj_wildcards)).parent
8280
/ "mri"
8381
/ "ThalamicNuclei.v12.T1.mgz"
8482
),
@@ -115,9 +113,7 @@ rule mgz2nii:
115113
if not config.get("skip_thal_seg")
116114
else [],
117115
aparcaseg=str(
118-
Path(
119-
bids(root=freesurfer_dir, **inputs.subj_wildcards)
120-
).parent
116+
Path(bids(root=freesurfer_dir, **inputs.subj_wildcards)).parent
121117
/ "mri"
122118
/ "aparc+aseg.mgz"
123119
),

scattr/workflow/rules/zona_bb_subcortex.smk

+1-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ rule reg2native:
7171
/ Path(config["zona_bb_subcortex"][config["Space"]]["dir"])
7272
/ Path(config["zona_bb_subcortex"][config["Space"]]["T1w"])
7373
),
74-
target=lambda wildcards: inputs["T1w"]
75-
.filter(**wildcards)
76-
.expand()[0],
74+
target=lambda wildcards: inputs["T1w"].filter(**wildcards).expand()[0],
7775
params:
7876
out_dir=directory(str(Path(bids_anat()).parent)),
7977
out_prefix=bids_anat(

0 commit comments

Comments
 (0)