You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be better to use the get_pkg_data_filename function to do this (see #99).
Unfortunately, this is complicated by the fact that these bits of code are currently run at import time which results in an import error because the xrtpy.response namespace cannot be resolved immediately at import time.
Instead, I would recommend that this code to read these files be moved into the objects themselves, unless doing so would create a lot of overhead in reading these files.
The text was updated successfully, but these errors were encountered:
Instead of constructing paths manually, as is done here,
xrtpy/xrtpy/response/effective_area.py
Lines 41 to 43 in d3e994c
it would be better to use the
get_pkg_data_filename
function to do this (see #99).Unfortunately, this is complicated by the fact that these bits of code are currently run at import time which results in an import error because the
xrtpy.response
namespace cannot be resolved immediately at import time.Instead, I would recommend that this code to read these files be moved into the objects themselves, unless doing so would create a lot of overhead in reading these files.
The text was updated successfully, but these errors were encountered: