BGVDTelescope uses relative path to `median_om_coordinates_2021.csv`
Currently running ntsim with --telescope BGVDTelescope
flag only works inside ntsim/tutorials
directory. In other locations it gives me:
[ NTSim.BGVDTelescope ] INFO: Initialized Telescope
Traceback (most recent call last):
...
FileNotFoundError: [Errno 2] No such file or directory: 'configs/median_om_coordinates_2021.csv'
importlib.resources to access the file provided by the package in a directory independent way.
We need to fix this - for example useUPD: Added https://git.jinr.ru/Baikal/bgvd-model/-/merge_requests/1 to add files to bgvd_model
, now we need to update the interface here (BGVDTelescope
class) accordingly
Edited by Andrey Sheshukov