Skip to content

Commit

Permalink
Split long path into multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Nov 10, 2023
1 parent ffc081f commit b907058
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/unit/test_fsspec_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
try:
import s3fs
import fsspec

HAVE_FSSPEC = True
except ImportError:
HAVE_FSSPEC = False
Expand All @@ -13,12 +14,15 @@


class TestFSSpecStreaming(unittest.TestCase):

@unittest.skipIf(not HAVE_FSSPEC, "fsspec not installed")
def test_fsspec_streaming(self):
# PLACEHOLDER test file from Allen Insitute for Neural Dynamics
# TODO: store a small test file and use it to speed up testing
remote_path = "s3://aind-open-data/ecephys_625749_2022-08-03_15-15-06_nwb_2023-05-16_16-34-55/ecephys_625749_2022-08-03_15-15-06_nwb/ecephys_625749_2022-08-03_15-15-06_experiment1_recording1.nwb.zarr/"
remote_path = (
"s3://aind-open-data/ecephys_625749_2022-08-03_15-15-06_nwb_2023-05-16_16-34-55/"
"ecephys_625749_2022-08-03_15-15-06_nwb/"
"ecephys_625749_2022-08-03_15-15-06_experiment1_recording1.nwb.zarr/"
)

with NWBZarrIO(remote_path, "r") as io:
nwbfile = io.read()
Expand Down

0 comments on commit b907058

Please sign in to comment.