Skip to content

Commit

Permalink
rmv unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Jan 23, 2024
1 parent d411749 commit cd67585
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
import numpy as np

from ...extraction_tools import PathType, FloatType, ArrayType
from ...extraction_tools import (
get_video_shape,
write_to_h5_dataset_format,
)
from ...extraction_tools import write_to_h5_dataset_format
from ...imagingextractor import ImagingExtractor
from lazy_ops import DatasetView

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@
from tqdm import tqdm

from ...imagingextractor import ImagingExtractor
from typing import Tuple, Dict, Optional
from typing import Tuple, Optional

from ...extraction_tools import (
PathType,
DtypeType,
NumpyArray,
)
from ...extraction_tools import PathType, DtypeType


class MemmapImagingExtractor(ImagingExtractor):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
NumpyMemmapImagingExtractor
The class for reading optical imaging data stored in a binary format with numpy.memmap.
"""
import os
from pathlib import Path
from typing import Tuple, Dict

import numpy as np
from tqdm import tqdm

from ...imagingextractor import ImagingExtractor
from typing import Tuple, Dict
from roiextractors.extraction_tools import read_numpy_memmap_video, VideoStructure, DtypeType, PathType

from .memmapextractors import MemmapImagingExtractor


Expand Down
2 changes: 0 additions & 2 deletions src/roiextractors/extractors/nwbextractors/nwbextractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
FloatType,
IntType,
ArrayType,
check_get_frames_args,
check_get_videos_args,
raise_multi_channel_or_depth_not_implemented,
)
from ...imagingextractor import ImagingExtractor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
SbxImagingExtractor
An ImagingExtractor for Scanbox Image files.
"""
from multiprocessing.sharedctypes import Value
import os
from pathlib import Path
from warnings import warn
from typing import Tuple, Optional

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion tests/test_scanimage_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import pytest
from numpy.testing import assert_array_equal
from ScanImageTiffReader import ScanImageTiffReader
from roiextractors.extractors.tiffimagingextractors.scanimagetiff_utils import (
_get_scanimage_reader,
extract_extra_metadata,
Expand Down
1 change: 0 additions & 1 deletion tests/test_suite2psegmentationextractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from numpy.testing import assert_array_equal

from roiextractors import Suite2pSegmentationExtractor
from roiextractors.extraction_tools import _image_mask_extractor
from tests.setup_paths import OPHYS_DATA_PATH


Expand Down

0 comments on commit cd67585

Please sign in to comment.