Closed micheles closed 4 months ago
No, it caused another error because the datastores are closed too early by atexit:
tests.py:475: in test_conditioned_gmfs2
gmf, sigeps, sites = export(('gmf_data', 'csv'), calc.datastore)
../oq-engine/openquake/baselib/general.py:668: in __call__
return self[key](obj, *args, **kw)
../oq-engine/openquake/calculators/export/hazard.py:342: in export_gmf_data_csv
oq = dstore['oqparam']
../oq-engine/openquake/commonlib/datastore.py:517: in __getitem__
raise KeyError('No %r found in %s' % (key, self))
E KeyError: "No 'oqparam' found in <DataStore /home/michele/oqdata/calc_65750.hdf5 open>"
Hopefully will fix the error in the oq-risk-tests