Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion fails in test_maude_decom #98

Open
javierggt opened this issue Jun 23, 2020 · 0 comments
Open

Assertion fails in test_maude_decom #98

javierggt opened this issue Jun 23, 2020 · 0 comments
Labels

Comments

@javierggt
Copy link
Contributor

javierggt commented Jun 23, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant