Closed henrikef closed 4 years ago
@cbrisboi or @colasri could you review this? It's a small change.
I still don't have a test environment working, so IDK. @cbrisboi ?
After setting set_geminga_paper
to xfail (probably needs fixes to astromodels, see https://github.com/threeML/astromodels/pull/101 , the linux tests pass now. MacOS still fails (ROOT fails to import).
The Geminga test used to work. When did we break it? Maybe we should slow down with the MR until the CI are back?
It worked because the model parser in astromodels was broken and would drop some parameter links. That was fixed, see https://github.com/threeML/astromodels/pull/86#issuecomment-445961036 . Now it fails when Geminga's and Monogem's diffusion coefficients are linked, but we remove one of the sources from the model to calculate the TS. (I'd call that user error, actually).
In any case, I have a fix where astromodels will automatically unlink parameters in case of sources being removed, see https://github.com/threeML/astromodels/pull/101 . But, I need to write some unit tests and make sure it works with the current master of astromodels before merging. I did test locally and test_geminga_paper
runs fine with my astromodels branch.
Added data_radius parameter back in for map ROI as it is needed by some of the map display functions.