PrincetonUniversity/magnet

Incorrect package data loading

Opened this issue · 1 comments

The following approach is incorrect and will fail as soon as data is moved around within the package context:

input_dir = "src/magnet/data/"

We should be using importlib_resources here.

Fixed (also in ui_raw), it will be changed the next time the dsl-FixingDutyCycle is merged with develop. Thank you!