[INSTRM-997] sequencePanel annotate window cras Created: 05/Jun/20  Updated: 06/Jun/20  Resolved: 06/Jun/20

Status: Done
Project: Instrument control development
Component/s: ics_sequencePanel
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: arnaud.lefur Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 1

 Description   

fmadec just found a bug :

Traceback (most recent call last):
  File "/software/devel/alefur/ics_sequencePanel/python/sequencePanel/annotate.py", line 85, in load
    self.annotate.load(self.visitSetId.value())
  File "/software/devel/alefur/ics_sequencePanel/python/sequencePanel/annotate.py", line 197, in load
    expList = spsExposure(visits)
  File "/software/devel/alefur/ics_sequencePanel/python/sequencePanel/utils/__init__.py", line 16, in spsExposure
    dfs.append(pd.DataFrame(exposures, columns=['visit', 'exptype', 'specNum', 'arm', 'camId']))
  File "/software/conda/lib/python3.6/site-packages/pandas/core/frame.py", line 379, in __init__
    copy=copy)
  File "/software/conda/lib/python3.6/site-packages/pandas/core/frame.py", line 536, in _init_ndarray
    return create_block_manager_from_blocks([values], [columns, index])
  File "/software/conda/lib/python3.6/site-packages/pandas/core/internals.py", line 4866, in create_block_manager_from_blocks
    construction_error(tot_items, blocks[0].shape[1:], axes, e)
  File "/software/conda/lib/python3.6/site-packages/pandas/core/internals.py", line 4841, in construction_error
    raise ValueError("Empty data passed with indices specified.")
ValueError: Empty data passed with indices specified.


Generated at Sat Feb 10 16:30:49 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.