v1.1.1 versus v1.2.0 #101
-
Hello! I've noticed different behavior between versions 1.1.1 (your version history shows only 1.1.0 exists but I have 1.1.1 pip installed) and 1.2.0. I have a baseline file created from our existing Perl extract tool and I am comparing it against my Python extract tool that uses ccsdspy. For v1.1.1 I get the assert result that my two dataframes are equivalent for apid=400, yet with no other changes other than upgrading to ccsdspy==1.2.0 the assertion errors that a few of my columns are now all 0's compared to the baseline which has those columns as all 32 or all 26. I've narrowed down the reasoning:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
Can you please provide the packet definition for this packet, and some test data? You can email me privately if you don't want to share here. We fixed some issues with signed int handling in 1.2, are the affected fields int or uint? |
Beta Was this translation helpful? Give feedback.
-
Okay so after some manual bit-bashing comparing our existing extract tool vs new ccsdspy-based tool I've come back with 2 major findings:
I've attached here a trimmed definitions .JSON file with the 2 problem parameters as well as the apid400.tlm source pkt file. There are no conversion applied for these 2 mnemonics. |
Beta Was this translation helpful? Give feedback.
-
Further development! I searched through the diffs of v1.1.1 and 1.2.0 on github (6bc8232) and found this removed code that would appear to solve my issue, so I inserted it back into my v1.2.0 decode.py function and tested, problem solved!!
|
Beta Was this translation helpful? Give feedback.
Hi @Hydravine @WilliamParsonsV: the new update (v1.2.1) has been pushed to PyPI. Let me know if there is anything else I can do!