[PIPE2D-528] Fix FutureWarning Created: 25/Mar/20 Updated: 25/Mar/20 Resolved: 25/Mar/20 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | price | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | SM1PD-2020 C |
| Reviewers: | hassan |
| Description |
|
Code introduced in FutureWarning: elementwise == comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future. I think this is coming from astropy, but we should silence it. |
| Comments |
| Comment by hassan [ 25/Mar/20 ] |
|
Tested fix on tiger: python -W error::FutureWarning $(which reduceArc.py) /tigress/hassans/lam-processing/repo-02 --calib /tigress/hassans/lam-processing/repo-02/CALIB --rerun 200324e-pipe2d-528 --id visit=17246 arm=r -c identifyLines.matchRadius=1.0 -j 20 |
| Comment by price [ 25/Mar/20 ] |
|
Merged to master. |