Skip to content

Commit

Permalink
FIX: Minor issues caught by flake8, including one missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Feb 28, 2023
1 parent 220a7ef commit 2b19b22
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion fmriprep/cli/tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

import pytest
from packaging.version import Version
from pkg_resources import resource_filename as pkgrf

from ... import config
from ...tests.test_config import _reset_config
Expand Down
1 change: 1 addition & 0 deletions fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

import os
import sys
import warnings
from copy import deepcopy

from nipype.interfaces import utility as niu
Expand Down
3 changes: 0 additions & 3 deletions fmriprep/workflows/bold/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,6 @@ def init_func_preproc_wf(bold_file, has_fieldmap=False):
def _last(inlist):
return inlist[-1]

def _last(inlist):
return inlist[-1]

# fmt:off
workflow.connect([
(initial_boldref_wf, carpetplot_wf, [
Expand Down

0 comments on commit 2b19b22

Please sign in to comment.