CCSDSPy / ccsdspy

I/O interface and utilities for CCSDS binary spacecraft data in Python. Library used in flight missions at NASA, NOAA, and SWRI
https://ccsdspy.org
BSD 3-Clause "New" or "Revised" License
74 stars 18 forks source link

Fix issue with parsing integer fields that are negative and not a clean length (8, 16, 32, 64 bits) #77

Closed ddasilva closed 11 months ago

ddasilva commented 11 months ago

This fixes an issue with three-byte negative integers in #76. This branch was tested and confirmed to fix the problem in that issue.

This merge request also adds pre-launch test data from Europa Clipper, provided by @nischayn99. The test data is used to add a regression test, in the new file test_regression.py.

codecov[bot] commented 11 months ago

Codecov Report

Merging #77 (54d9fb5) into main (891f8ad) will increase coverage by 0.13%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   95.74%   95.88%   +0.13%     
==========================================
  Files           7        7              
  Lines         635      656      +21     
==========================================
+ Hits          608      629      +21     
  Misses         27       27              
Impacted Files Coverage Δ
ccsdspy/decode.py 95.87% <100.00%> (+0.44%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more