Skip to content

Commit

Permalink
FIX: Bad import, connection
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 14, 2023
1 parent 3308813 commit fbee379
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fmriprep/workflows/bold/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def init_bold_native_wf(
(md := layout.get_metadata(bold_file), bold_file, md.get("EchoTime"))
for bold_file in listify(bold_series)
),
key=lambda _, __, echo_time: echo_time,
key=lambda x: x[2],
)
)
multiecho = len(bold_files) > 1
Expand Down
2 changes: 1 addition & 1 deletion fmriprep/workflows/bold/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def select_target(subject_id, space):
("source_file", "reference"),
("fsnative2t1w_xfm", "in_xfms"),
]),
(get_fsnative, itk2lta, [("T1", "dst_file")]),
(get_fsnative, itk2lta, [("T1", "moving")]),
(inputnode, sampler, [
("subjects_dir", "subjects_dir"),
("subject_id", "subject_id"),
Expand Down
2 changes: 1 addition & 1 deletion fmriprep/workflows/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@contextmanager
def mock_config():
"""Create a mock config for documentation and testing purposes."""
from .. import config
from ... import config

_old_fs = os.getenv('FREESURFER_HOME')
if not _old_fs:
Expand Down

0 comments on commit fbee379

Please sign in to comment.