Ticket #3142 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Error in Save or Load nexus workspace -- source information lost.

Reported by: Alex Buts Owned by: Karl Palmen
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Peter Parker

Description (last modified by Nick Draper) (diff)

When doing homering (transformation to energy) for ISIS instruments, you are getting resulting ws with correct source position in it:

mem = mtd['calculated.spe']
s = mem.getInstrument().getSource()
print s.getPos()
Result:
[0,0,-1.65] : CORRECT

=== after saving this workspace in file and loading it again, the source position is lost:

mem2 = mtd['loaded']
t = mem2.getInstrument().getSource()
print t.getPos()

Result:
[0,0,0] : WRONG

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

"New" tickets moved at the code freeze of iteration 29

comment:2 Changed 9 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner set to Anyone

comment:3 Changed 9 years ago by Nick Draper

  • Priority changed from major to critical

comment:4 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:5 Changed 9 years ago by Nick Draper

  • Description modified (diff)

comment:6 Changed 9 years ago by Nick Draper

  • Description modified (diff)

comment:7 Changed 9 years ago by Nick Draper

From Alex:

Save was NeXus switch selected in ConvertToEnergy algorithm.

AFAIK -- SaveNexus algorithm.

LoadNexus for load correspondingly.

comment:8 Changed 9 years ago by Karl Palmen

  • Owner changed from Anyone to Karl Palmen

comment:9 Changed 9 years ago by Karl Palmen

  • Status changed from assigned to accepted

comment:10 Changed 9 years ago by Karl Palmen

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

Alex Buts has told me that the problem has already been fixed.

comment:11 Changed 9 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:12 Changed 9 years ago by Peter Parker

  • Status changed from verifying to closed

Source position information is preserved during a save/load nexus roundtrip.

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3989

Note: See TracTickets for help on using tickets.