[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 PIPE2D-527 causes:

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.

Generated at Sat Feb 10 15:54:27 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.