sot / chandra_aca

Chandra Aspect Camera Tools
https://sot.github.io/chandra_aca
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Assertion fails in test_maude_decom #98

Open javierggt opened 4 years ago

javierggt commented 4 years ago

in test_maude_decom.py line 145 we have

    assert np.all(table == table2)

In my local copy I updated numpy, so I have version 1.18.5 instead of 1.12.1. That assertion then fails. I guess it has something to do with the fact that there is a mask. If I replace that line with

    columns = list(table.colnames)
    columns.remove('IMG')
    assert np.all(table['IMG'] == table2['IMG'])
    assert np.all(table[columns] == table2[columns])

then the assertions are ok. Any idea what's going on?