Skip to content

Commit 576e522

Browse files
committed
FIX: style
1 parent f28b58f commit 576e522

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

petprep/workflows/pet/confounds.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
2929
"""
3030

31-
from nipype.algorithms import confounds as nac
3231
from nipype.interfaces import utility as niu
3332
from nipype.pipeline import engine as pe
3433
from templateflow.api import get as get_template
@@ -565,9 +564,11 @@ def init_carpetplot_wf(
565564

566565
def _compute_dvars(pet, mask):
567566
"""Compute DVARS only when the timeseries has at least three frames."""
568-
import numpy as np
569-
import nibabel as nb
570567
from pathlib import Path
568+
569+
import nibabel as nb
570+
import numpy as np
571+
571572
from nipype.algorithms import confounds as nac
572573

573574
nvols = nb.load(pet).shape[-1]

0 commit comments

Comments
 (0)