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

Fix test failures #214

Merged
merged 6 commits into from
Mar 4, 2017
Merged

Fix test failures #214

merged 6 commits into from
Mar 4, 2017

Conversation

sbailey
Copy link
Contributor

@sbailey sbailey commented Mar 4, 2017

A variety of test failures had crept into desisim mostly due to non-backwards compatible changes in other packages. These went unnoticed in desisim since the Travis tests were pinned to older versions. These changes get desisim back into compatibility with the latest versions of desispec, desitarget, and specter.

desisim itself will be ready for a fresh tag after confirming that these tests pass on Travis and merging.

@sbailey
Copy link
Contributor Author

sbailey commented Mar 4, 2017

Looks like there was a bug in desispec installation of data/ccd/ccd_calibration.yaml . I think I've fixed that in desispec master; testing here. If this works I'll update the desispec tag, make this branch of desisim depend on that tag, and try again...

i.e. comments welcome but don't merge this just yet

@moustakas
Copy link
Member

I tested and verified that all tests now pass, so I'm merging.

Note for the future: I was getting many failures on my laptop when testing quickgen because of this line:

    assert output['observed_flux'].unit == 1e17 * fluxunits

but it turns out that I had version 1.3.0 of astropy rather than 1.2.1 installed in my conda environment.

@moustakas moustakas merged commit 2ec990c into master Mar 4, 2017
@moustakas moustakas deleted the fixtests branch March 4, 2017 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants