Skip to content

Commit

Permalink
Fixed minor flake8 warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohil8 committed May 27, 2024
1 parent 252e3e7 commit a927f63
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion osl/source_recon/rhino/coreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Authors: Mark Woolrich <mark.woolrich@ohba.ox.ac.uk>
# Chetan Gohil <chetan.gohil@psych.ox.ac.uk>

import os
import os.path as op
from pathlib import Path
from shutil import copyfile
Expand Down
4 changes: 1 addition & 3 deletions osl/source_recon/rhino/forward_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import os.path as op
from copy import deepcopy

import nibabel as nib

from mne import make_bem_model, make_bem_solution, make_forward_solution, write_forward_solution
from mne.bem import ConductorModel, read_bem_solution
from mne.transforms import read_trans, Transform
Expand Down Expand Up @@ -148,7 +146,7 @@ def make_fwd_solution(

# The forward model is done in head space
# We need the transformation from MRI to HEAD coordinates (or vice versa)
head_scaledmri_trans_file = filenames["head_scaledmri_t_file" ]
head_scaledmri_trans_file = filenames["head_scaledmri_t_file"]
if isinstance(head_scaledmri_trans_file, str):
head_mri_t = read_trans(head_scaledmri_trans_file)
else:
Expand Down
1 change: 1 addition & 0 deletions osl/source_recon/rhino/polhemus.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

from mne.io import read_info
Expand Down
1 change: 0 additions & 1 deletion osl/source_recon/rhino/surfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Authors: Mark Woolrich <mark.woolrich@ohba.ox.ac.uk>
# Chetan Gohil <chetan.gohil@psych.ox.ac.uk>

import os
import os.path as op
import warnings
from pathlib import Path
Expand Down

0 comments on commit a927f63

Please sign in to comment.