Ticket #1218 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

SaveNexusProcessed crashes when run twice with a group

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description


Change History

comment:1 Changed 10 years ago by Martyn Gigg

Run this script to test:

result = "GEM38370"
LoadRaw("GEM38370.raw", result)
cal_file="C:/Mantid/trunk/Test/Data/offsets_2006_cycle064.cal"
AlignDetectors(result, result, cal_file)
DiffractionFocussing(result,result,cal_file)

banks = ""
for i in range(1,7): 
    ExtractSingleSpectrum(result, result + "_" + str(i),i-1)
    banks += result + "_" + str(i) + ","
	
banks.rstrip(",")
mtd.deleteWorkspace(result)
group = result + "_grp"
GroupWorkspaces(group, banks)
SaveNexusProcessed(group, "C:/Mantid/GEM_crash.nxs")

comment:2 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 10 years ago by Martyn Gigg

(In [4358]) Fixed bug with MantidPlot crash on running algorithms on groups twice when the original group is still present. Also removed reference to MantidPlot within Mantid code. Re #1218

comment:4 Changed 10 years ago by Martyn Gigg

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:5 Changed 10 years ago by Sofia Antony

  • Status changed from testing to closed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2065

Note: See TracTickets for help on using tickets.