[PIPE2D-458] Unable to ingest images in 5.1.0 Created: 27/Sep/19  Updated: 27/Sep/19  Resolved: 27/Sep/19

Status: Done
Project: DRP 2-D Pipeline
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Normal
Reporter: ncaplar Assignee: price
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: 2DDRP-2019 G
Reviewers: hassan

 Description   

Running:

ingestPfsImages.py /tigress/ncaplar/ReducedData/Jun_2019_run1 --mode=link /tigress/HSC/PFS/LAM/raw/2019-08-01/PFLA02208812.fits

This fails with

Traceback (most recent call last):
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/obs_pfs/5.1.0/bin/ingestPfsImages.py", line 3, in <module>
    PfsIngestTask.parseAndRun()
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_tasks/18.1.0/python/lsst/pipe/tasks/ingest.py", line 416, in parseAndRun
    task.run(args)
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_tasks/18.1.0/python/lsst/pipe/tasks/ingest.py", line 553, in run
    self.register.addRow(registry, info, dryrun=args.dryrun, create=args.create)
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_tasks/18.1.0/python/lsst/pipe/tasks/ingest.py", line 357, in addRow
    values = [self.typemap[tt](info[col]) for col, tt in self.config.columns.items()]
  File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_tasks/18.1.0/python/lsst/pipe/tasks/ingest.py", line 357, in <listcomp>
    values = [self.typemap[tt](info[col]) for col, tt in self.config.columns.items()]
TypeError: float() argument must be a string or a number, not 'NoneType' 


 Comments   
Comment by price [ 27/Sep/19 ]

ncaplar, could you please try this out? I think it should take care of your problem.

Comment by price [ 27/Sep/19 ]

Corresponding LSST ticket is DM-21452.

Comment by price [ 27/Sep/19 ]

Merged to master.

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