Open vstadnytskyi opened 4 years ago
it is Python3 issue. It works fine on Python2.7
$ ipython
^[[APython 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10)
Type "copyright", "credits" or "license" for more information.
IPython 5.8.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from timing_sequencer import timing_sequencer
In [2]: timing_sequencer.queue_active
Out[2]: False
There is a bug in timing_sequence. You are trying to evaluate "object.%s" % name but name is ‘.name’ so you end up with object.._name__
see line https://github.com/friedrich-schotte/Lauecollect/blob/60ae2b05ea8596ba0decf426e37aeaca0bc8b6be/timing_sequence.py#L593