File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,11 @@ def _parse_header(self):
263263 rising_indices = []
264264 falling_indices = []
265265
266+ # all channels are packed into the same `states` array.
267+ # So the states array includes positive and negative values for each channel:
268+ # for example channel one rising would be +1 and channel one falling would be -1,
269+ # channel two rising would be +2 and channel two falling would be -2, etc.
270+ # This is the case for sure for version >= 0.6.x.
266271 for channel in channels :
267272 # Find rising and falling edges for each channel
268273 rising = np .where (states == channel )[0 ]
Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ def setUpClass(cls):
6666 """
6767 cls .shortname = cls .rawioclass .__name__ .lower ().replace ("rawio" , "" )
6868
69- if HAVE_DATALAD and cls .use_network :
70- for remote_path in cls .entities_to_download :
71- download_dataset (repo = repo_for_test , remote_path = remote_path )
72- else :
73- raise unittest .SkipTest ("Requires datalad download of data from the web" )
69+ # if HAVE_DATALAD and cls.use_network:
70+ # for remote_path in cls.entities_to_download:
71+ # download_dataset(repo=repo_for_test, remote_path=remote_path)
72+ # else:
73+ # raise unittest.SkipTest("Requires datalad download of data from the web")
7474
7575 def get_local_base_folder (self ):
7676 return get_local_testing_data_folder ()
You can’t perform that action at this time.
0 commit comments