Source: EasyReflectometryApp/Backends/Py/helpers.py:28-33 — DEEP_ANALYSIS.md §5 item 6
IO.localFileToUrl on Windows does fpath.split(':')[-1] then QUrl.fromLocalFile(...), which strips the drive letter — producing file:///Users/... from C:\Users\.... Any consumer of Summary.fileUrl / plotFileUrl on Windows gets a broken URL.
Contrast with saveBayesianPlot (analysis.py:1324-1328) which handles Windows drive prefixes correctly.
Fix: Pass the full path to QUrl.fromLocalFile without stripping the drive; reuse the correct logic from saveBayesianPlot.
Source:
EasyReflectometryApp/Backends/Py/helpers.py:28-33— DEEP_ANALYSIS.md §5 item 6IO.localFileToUrlon Windows doesfpath.split(':')[-1]thenQUrl.fromLocalFile(...), which strips the drive letter — producingfile:///Users/...fromC:\Users\.... Any consumer ofSummary.fileUrl/plotFileUrlon Windows gets a broken URL.Contrast with
saveBayesianPlot(analysis.py:1324-1328) which handles Windows drive prefixes correctly.Fix: Pass the full path to
QUrl.fromLocalFilewithout stripping the drive; reuse the correct logic fromsaveBayesianPlot.