Commit 12fe6342 authored by Javier Quinteros's avatar Javier Quinteros

Add FIXME to tackle the case of selecting all channels

parent 6615ee98
......@@ -98,6 +98,8 @@ class TDMS(object):
else:
raise TypeError('"channels" must be a list')
else:
# FIXME If chstop is None because we don't know the total number of channels
# we need to keep the three values (start, stop, step) until we read it in readmetadata
self.__channels = list(range(chstart, chstop+1, chstep))
# List of channels cannot be empty
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment