Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Dec 21, 2023
1 parent b65d001 commit 29d6565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/ds105/ds105_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# From NIPY
from nipy.io.api import load_image


def csv2rec(fname):
return pd.read_csv(fname).to_records()

Expand Down
4 changes: 2 additions & 2 deletions examples/fiac/fiac_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
# Stdlib
import csv
import os
from io import StringIO # Python 3
from os import listdir, makedirs
from os.path import abspath, exists, isdir, splitext
from os.path import join as pjoin

from io import StringIO # Python 3

# Third party
import numpy as np
import pandas as pd

# From NIPY
from nipy.io.api import load_image


def csv2rec(fname):
return pd.read_csv(fname).to_records()

Expand Down

0 comments on commit 29d6565

Please sign in to comment.