Closed hugoaboud closed 3 years ago
Hi, sorry if I'm a bit late with this one - I have just pushed a change along these lines
According to the standard, the default value for Offset
is "None", so I have added this as the fallback value if a value isn't provided. I've tested this with the fixture you've linked. Note I have used the string "None" rather than builtin None
to keep in line with the documentation they provide
Cheers
Hi, I'm setting up your library to parse GDTF profiles, however it failed with the following error:
I was testing this FixtureType. I found that the first
DMXChannel
of the file has noOffset
parameter, since it's zero.I'm not sure what the standard says about it, so I didn't make a pull request. However, it's an easy fix. Please let me know what you think it's the best strategy here: reporting the file problem to GDTF-Share, including the fix or both.
Also, thank you for the work on this library! It's gonna make life so much easier!