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
this means that whenever we run many of the utilities in SIRF_data_preparation, we will get an output folder from wherever we run it. That folder will often contain Tensorboard stuff (due to #117 (comment)), but also the OSEM/BSREM reconstructions. It means I have to hunt for where everything is, unless I make sure everything gets always run from the same cwd.
As opposed to using relative directories, I suggest we follow the "relative to repo" strategy
I find the "current directory" strategy very brittle. It is there for running things outside the runner, but it is surprising. It also applies to SRCDIR.
We have
PETRIC/petric.py
Lines 39 to 41 in bbb048f
this means that whenever we run many of the utilities in SIRF_data_preparation, we will get an
output
folder from wherever we run it. That folder will often contain Tensorboard stuff (due to #117 (comment)), but also the OSEM/BSREM reconstructions. It means I have to hunt for where everything is, unless I make sure everything gets always run from the same cwd.As opposed to using relative directories, I suggest we follow the "relative to repo" strategy
PETRIC/SIRF_data_preparation/data_utilities.py
Lines 18 to 21 in bbb048f
for
SRCDIR
andOUTDIR
.Note however that this means the
SRCDIR
will likely always exist, and therefore importing petric.py is quite slow #117The text was updated successfully, but these errors were encountered: