-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Our team have performed testing and come to the following conclusion.
This confirms that the file is status-only: no analog channels, only digital. This is exactly the scenario that triggers the bug in python-comtrade where get_reader_format() tries to format a string with {dcount} but passes the wrong key.
So yes, this information reinforces the conclusion:
✅ Your file is completely correct according to COMTRADE 2001.
✅ The bug is in the library's handling of status-only files.
It would be highly appreciated if this can be fixed ASAP.
The fix as such is very simple and I would be happy to create a small PR for it (it's practically a variable typo fix).
Our concern: there are many old open PRs and the activity on this repo is very low, Please confirm that it is active.
We have found no replacement Comtrade reader on pypi.org. Ref. https://pypi.org/project/comtrade/