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
but RoiFile's constructor doesn't open the file or test for existence.
The desired solution is a configuration on DataDirectory (called require_roi_files) defaulting to True, that, when False, skips checking for the existence of ROI files.
The text was updated successfully, but these errors were encountered:
There's also this exists method that returns False if the ROI file is missing, I believe the solution is for that method to accept a flag called require_roi_file
Use case: compute metrics for bins that are telemetered without their ROI files.
Right now DataDirectory enforces a requirement that all three files are present--here's one place.
pyifcb/ifcb/data/files.py
Lines 255 to 283 in 5e822ad
FilesetBin
constructs aRoiFile
object for the specified path:pyifcb/ifcb/data/files.py
Lines 115 to 121 in 5e822ad
but
RoiFile
's constructor doesn't open the file or test for existence.The desired solution is a configuration on
DataDirectory
(calledrequire_roi_files
) defaulting to True, that, when False, skips checking for the existence of ROI files.The text was updated successfully, but these errors were encountered: