From 230752867ecee647f69db1c555f25bd3938005df Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Wed, 14 Sep 2022 08:56:27 -0400 Subject: [PATCH] add unit test to show disagreement between blobs and frames in terms of IMGFUNC --- chandra_aca/tests/test_maude_decom.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chandra_aca/tests/test_maude_decom.py b/chandra_aca/tests/test_maude_decom.py index 8a6af94..835332a 100755 --- a/chandra_aca/tests/test_maude_decom.py +++ b/chandra_aca/tests/test_maude_decom.py @@ -495,6 +495,12 @@ def test_blob_frame_consistency(): slot_data = slot_data[slot_data['IMGNUM'] == slot] slot_data_2 = slot_data_2[slot_data_2['IMGNUM'] == slot] assert len(slot_data) == len(slot_data_2) + compare_tables(slot_data, slot_data_2, exclude=['COMMPROG_REPEAT']) + + start, stop = 686105735.6057751, 686105740.7507753 + slot_data = maude_decom.get_aca_packets(start, stop, blobs=False) + slot_data_blobs = maude_decom.get_aca_packets(start, stop, blobs=True) + compare_tables(slot_data, slot_data_blobs, exclude=['COMMPROG_REPEAT']) def test_get_aca_packets_blobs():