Skip to content

Commit dac3bcb

Browse files
authored
Merge pull request #1728 from NeuralEnsemble/black-formatting
Black formatting
2 parents 2e9b86f + 0cdeb7c commit dac3bcb

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

neo/core/spiketrainlist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def __init__(self, items=None, parent=None):
115115
self._spiketrain_metadata = {}
116116

117117
from .segment import Segment # import here rather than at the top to avoid circular import
118+
118119
if parent is not None and not isinstance(parent, Segment):
119120
raise AttributeError("If provided, the parent class must be a Segment")
120121
self.segment = parent

neo/rawio/spikeglxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def extract_stream_info(meta_file, meta):
576576
if (
577577
"imDatPrb_type" not in meta
578578
or meta["imDatPrb_type"] == "0"
579-
or meta["imDatPrb_type"] in ("1015", "1016", "1022", "1030", "1031", "1032", "1100", "1121", "1123","1300")
579+
or meta["imDatPrb_type"] in ("1015", "1016", "1022", "1030", "1031", "1032", "1100", "1121", "1123", "1300")
580580
):
581581
# This work with NP 1.0 case with different metadata versions
582582
# https://github.com/billkarsh/SpikeGLX/blob/15ec8898e17829f9f08c226bf04f46281f106e5f/Markdown/Metadata_30.md

neo/test/iotest/test_plexon2io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
TEST_PLEXON2 = bool(os.getenv("PLEXON2_TEST"))
2222

23+
2324
@unittest.skipUnless(HAVE_PYPL2 and TEST_PLEXON2, "requires pypl package and all its dependencies")
2425
class TestPlexon2IO(BaseTestIO, unittest.TestCase):
2526
entities_to_download = TestPlexon2RawIO.entities_to_download

neo/test/rawiotest/test_plexon2rawio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
TEST_PLEXON2 = bool(os.getenv("PLEXON2_TEST"))
2121

22+
2223
@unittest.skipUnless(HAVE_PYPL2 and TEST_PLEXON2, "requires pypl package and all its dependencies")
2324
class TestPlexon2RawIO(
2425
BaseTestRawIO,

0 commit comments

Comments
 (0)