LDMX-Software / fire

Event-by-event processing framework using HDF5 and C++17
https://ldmx-software.github.io/fire/
GNU General Public License v3.0
1 stars 0 forks source link

Make input/output file error more specific #32

Closed omar-moreno closed 2 years ago

omar-moreno commented 2 years ago

Is your feature request related to a problem? Please describe. When running with the most basic python config

import fire.cfg
p = fire.cfg.Process('sim')

the following error is encountered

[Python] Python object does not have a __dict__ member

This is due to the lack of input or output file being specified. The behavior of throwing an error is correct but the message should be more specific so the user knows what to correct.

Describe the solution you'd like Make the error message more specific in the case that an input or output file is missing from the configuration.