Scan crashes if chip config is used from crashed analysis
If the chip config is used from a previous a scan with a crashed analysis step the scan crashes with the following error:
Loading chip configuration for chip 0x0001 from /home/silab/git/bdaq53/bdaq53/scans/output_data/module_0/chip_0/20201030_141821_fast_threshold_scan_interpreted.h5
Traceback (most recent call last):
File "scan_threshold_ptot.py", line 125, in <module>
with ThresholdScanPToT(scan_config=scan_configuration) as scan:
File "/home/silab/git/bdaq53/bdaq53/system/scan_base.py", line 508, in __enter__
self.init()
File "/home/silab/git/bdaq53/bdaq53/system/scan_base.py", line 247, in init
self._init_environment()
File "/home/silab/git/bdaq53/bdaq53/system/scan_base.py", line 549, in _init_environment
self._create_chip_container(self.scan_config_par, self.scan_config_per_chip_par) # fill self.chips with chip container objects from testbench and parameters
File "/home/silab/git/bdaq53/bdaq53/system/scan_base.py", line 782, in _create_chip_container
chip_conf = self._parse_chip_cfg_file(chip_settings['chip_config_file'])
File "/home/silab/git/bdaq53/bdaq53/system/scan_base.py", line 719, in _parse_chip_cfg_file
settings = fill_dict_from_conf_table(configuration.chip.settings)
File "/home/silab/anaconda3/lib/python3.7/site-packages/tables/group.py", line 836, in __getattr__
return self._f_get_child(name)
File "/home/silab/anaconda3/lib/python3.7/site-packages/tables/group.py", line 708, in _f_get_child
self._g_check_has_child(childname)
File "/home/silab/anaconda3/lib/python3.7/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/configuration_out`` does not have a child named ``chip``
I think this should not be like that.