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
{{ message }}
Repository navigation
missing error handling of ground truth labels with a slash #176
The error occurs in the statistics phase, when the ground_truth_label contains a / in the name like: ground_truth_label: "Parameter(0=mod/well,1=poor)"
What happens
When pathlib constructs the path output_dir / "roc-curve_Parameter(0=mod/well,1=poor)=0.svg", the / inside the string is treated as a directory separator.
It tries to open a file inside a non-existent subdirectory roc-curve_Parameter(0=mod/.
Possible fix:
Don't allow a / in the ground_truth_label setting and raise an error in every phase
Fix all save or export code lines and replace the / with another character like _
In the statistics phase it applies to the following lines of code:
Activity
mducducd commentedon May 22, 2026
Hi @heavenduck
The update is in #177
Thank you for reporting the error.