[PIPE2D-853] Fix bootstrap following rename of guessedIntensity Created: 17/Jun/21  Updated: 18/Jun/21  Resolved: 18/Jun/21

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: 2DDRP-2021 A 6
Reviewers: hassan

 Description   

arnaud.lefur reports an exception when running bootstrap:

Traceback (most recent call last):
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_base/18.1.0/python/lsst/pipe/base/cmdLineTask.py", line 388, in __call__
    result = self.runTask(task, dataRef, kwargs)
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_base/18.1.0/python/lsst/pipe/base/cmdLineTask.py", line 447, in runTask
    return task.runDataRef(dataRef, **kwargs)
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/drp_stella/w.2021.24/python/pfs/drp/stella/bootstrap.py", line 137, in runDataRef
    matches = self.matchArcLines(lineResults.lines, lineResults.refLines, lineResults.detectorMap)
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/drp_stella/w.2021.24/python/pfs/drp/stella/bootstrap.py", line 313, in matchArcLines
    ref = max(candidates, key=attrgetter("guessedIntensity"))
AttributeError: 'ReferenceLine' object has no attribute 'guessedIntensity'


 Comments   
Comment by price [ 17/Jun/21 ]

arnaud.lefur reports that this works.

Comment by hassan [ 18/Jun/21 ]

Changes look fine.

Comment by price [ 18/Jun/21 ]

Merged.

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