Unable to load data if a TimeSeriesProperty contains only a single time #38598
Labels
Investigation
A task to investigate options for future work
ISIS Team: Core
Issue and pull requests managed by the Core subteam at ISIS
ISIS Team: LSS
Issue and pull requests managed by the LSS subteam at ISIS
Reported By User
Issues that were found or highlighted by a user/scientist
Original reporter: Max Skoda and John Webster from the ISIS Reflectometry Group
Describe the bug
Attempting to load run
INTER81632
fails with error "Cannot guess ending value from a TimeSeriesProperty that contains only a single time".To Reproduce
Run the following:
Expected behavior
Prior to version 6.10 of Mantid, the workspace would still have been loaded with all the sample logs. This can be seen by running the above in version 6.9 of Mantid. It's unclear why this behaviour was changed (if it was intentional, or is a regression). Further investigation is needed to identify if the issue should be fixed in Mantid or in the Nexus file.
Platform/Version (please complete the following information):
Additional context
The issue with this run appears to be in the
Nima_mode
SE log. If you look at entryselog->Nima_mode->value_log->time
in the raw Nexus file (load into an HDF viewer) then there is only one positive time entry. This seems to be different to runINTER81633
, which loads OK and has two positive time entries. Further investigation of the code would be needed to confirm that this is definitely the part of this entry that is causing the problem, it may not be, but it does seem consistent with the error message (and the location in the code that is throwing that error).I am confident that something in the
Nima_mode
log is the cause of the problem as running the below script (which excludes this log) works OK:John has explained that he sees this occasionally whenever he uses a NIMA trough in a Reflectometry experiment (at a frequency of approximately one run in three experiments).
The text was updated successfully, but these errors were encountered: