Ticket #7530 (assigned)

Opened 7 years ago

Last modified 5 years ago

Mantid freezing when invalid mask loaded - ISIS SANS.

Reported by: Jay Rainey Owned by: Peter Parker
Priority: major Milestone: Backlog
Component: SANS Keywords:
Cc: gesner.passos@… Blocked By:
Blocking: Tester:

Description

When testing #6594 I came across an issue that occurred if an invalid file was loaded in ISIS SANS load mask. If the file was a binary file (such as .raw) Mantid would freeze up and seize to function.

This can be re-produced as follow:

  1. Load Mantid
  2. Go to Interfaces -> SANS ISIS
  3. Click Load Mask and select a .raw or other binary file.
  4. The bug/issue should then be visible.

Change History

comment:1 Changed 7 years ago by Gesner Passos

  • Cc gesner.passos@… added

comment:2 Changed 7 years ago by Jay Rainey

  • Owner changed from Jay Rainey to Gesner Passos

comment:3 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 3.0 to Backlog

Moved out to backlog as not enough time in R3.0

comment:4 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:5 Changed 7 years ago by Gesner Passos

The main problem is related to the fact that MaskFile does try to load files that are not specific related to MaskFiles. Try for example this script and you will see.

import ISISInterface as ici
ici.LOQ()
ici.MaskFile('/apps/mantid/systemtests/Data/LOQ/LOQ74044.nxs')

comment:6 Changed 7 years ago by Jay Rainey

Prior to loading a mask file can we check if the file extension is in an acceptable list of file extensions, and if not throw an error?

Last edited 7 years ago by Jay Rainey (previous) (diff)

comment:7 Changed 7 years ago by Nick Draper

  • Owner changed from Gesner Passos to Peter Parker

Ownership handed over to Peter

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8375

Note: See TracTickets for help on using tickets.