Closed jeanconn closed 4 years ago
Some of the new maude decom tests don't pass on 32bit (looks numeric).
I don't care but figured I'd capture in an issue. I can't remember which maude test was failing in our last 32 bit release.
=================================== FAILURES =================================== _______________________________ test_vcdu_0_raw ________________________________ def test_vcdu_0_raw(): data = maude_decom.get_raw_aca_packets(176267186, 176267186) assert data['flags'] == 0 for key in ['TIME', 'MJF', 'MNF', 'packets']: assert len(data[key]) == 0 ref_data = test_data['686111007-686111017']['raw'] data = maude_decom.get_raw_aca_packets(686111007, 686111017) for key in ['TIME', 'MJF', 'MNF']: > assert np.all(data[key] == ref_data[key]) E assert False E + where False = <function all at 0xb75d1584>(array([ 6.86...86111016e+08]) == array([ 6.861...86111016e+08]) E + where <function all at 0xb75d1584> = np.all E Full diff: E array([ 6.86111007e+08, 6.86111008e+08, 6.86111009e+08, E 6.86111010e+08, 6.86111011e+08, 6.86111012e+08, E 6.86111013e+08, 6.86111014e+08, 6.86111015e+08, E 6.86111016e+08])) chandra_aca/tests/test_maude_decom.py:26: AssertionError _____________________________ test_vcdu_vs_level0 ______________________________ def test_vcdu_vs_level0(): from astropy.table import Table start, stop = (686111020, 686111030) table = maude_decom.get_aca_packets(start, stop, level0=True) table2 = maude_decom.get_aca_images(start, stop) assert np.all(table == table2) raw = test_data[f'686111010-686111040']['raw'] table2 = maude_decom._get_aca_packets(raw, start, stop, combine=True, adjust_time=True, calibrate=True) > assert np.all(table == table2) E AssertionError: assert False E + where False = <function all at 0xb75d1584>(<Table masked... -- .. -- == <Table masked=... -- .. -- E + where <function all at 0xb75d1584> = np.all E Full diff: E <Table masked=True length=34> E TIME MJF MNF ... IMGCOL0_8X8 END_INTEG_TIME IMG [8,8] E float64 uint32 uint32 ... int16 float64 float64 E ------------- ------ ------ ... ----------- -------------- -------------------- E 686111020.693 8581 28 ... -169 686111021.541 21.5625 .. 28.71875 E 686111024.793 8581 44 ... -169 686111025.641 22.1875 .. 22.1875... E E ...Full output truncated (13 lines hidden), use '-vv' to show) chandra_aca/tests/test_maude_decom.py:150: AssertionError
Some of the new maude decom tests don't pass on 32bit (looks numeric).
I don't care but figured I'd capture in an issue. I can't remember which maude test was failing in our last 32 bit release.