Skip to content

Commit

Permalink
now a unicode error?
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcieslak committed Mar 5, 2024
1 parent a783eff commit 42f6409
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qsiprep/interfaces/dwi_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _run_interface(self, runtime):
# Create a merged metadata json file for
if isdefined(self.inputs.scan_metadata):
combined_metadata = combine_metadata(
self.inputs.dwi_files,
self.inputs.bids_dwi_files,
self.inputs.scan_metadata,
)
merged_metadata_file = op.join(runtime.cwd, "merged_metadata.json")
Expand Down
11 changes: 7 additions & 4 deletions qsiprep/workflows/dwi/fsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ def init_fsl_hmc_wf(
)

workflow = Workflow(name=name)
gather_inputs = pe.Node(
GatherEddyInputs(b0_threshold=b0_threshold, raw_image_sdc=raw_image_sdc),
name="gather_inputs",
)
if eddy_config is None:
# load from the defaults
eddy_cfg_file = pkgr_fn("qsiprep.data", "eddy_params.json")
Expand All @@ -180,6 +176,13 @@ def init_fsl_hmc_wf(

with open(eddy_cfg_file, "r") as f:
eddy_args = json.load(f)

gather_inputs = pe.Node(
GatherEddyInputs(
b0_threshold=b0_threshold, raw_image_sdc=raw_image_sdc, eddy_config=eddy_cfg_file
),
name="gather_inputs",
)
enhance_pre_sdc = pe.Node(EnhanceB0(), name="enhance_pre_sdc")

# Run in parallel if possible
Expand Down

0 comments on commit 42f6409

Please sign in to comment.