brightway-lca / brightway2-calc

The calculation engine for the Brightway2 life cycle assessment framework.
BSD 3-Clause "New" or "Revised" License
12 stars 15 forks source link

Poor error message when no LCIA data is supplied #71

Closed cmutel closed 11 months ago

cmutel commented 1 year ago

Currently we get this:

File ~/miniconda3/envs/bw25/lib/python3.10/site-packages/matrix_utils/utils.py:57, in safe_concatenate_indices(arrays, empty_ok)
     55     return np.array([], dtype=int)
     56 else:
---> 57     raise AllArraysEmpty