G-Node / python-neo

Fork of python-neo for maintaining the NIX IO.
https://github.com/NeuralEnsemble/python-neo
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Two issues about attr type in nixio #19

Open hkchekc opened 6 years ago

hkchekc commented 6 years ago
  1. Seemingly neo want all channel_name of channel_index to be forced to string, but nixio do not (at least it allows also unicode).

AssertionError: ('ChannelIndex.channel_names dtype.kind is U should be S', 'from ChannelIndex 2 of Block', 'from nixio_fr.nix with lazy=False')

  1. for epoch (may also other mtag), if the name is inputted as None, nixio will somehow automatically read it (or change it) to " ". The baseiotest complain about it.

AssertionError: ('In Epoch.name None and differed', 'from epochs[0] of Segment', 'from segments[0] of Block')