Ticket #10038 (closed: worksforme)

Opened 6 years ago

Last modified 5 years ago

SumNeighbours crashes on EnginX

Reported by: Owen Arnold Owned by: Harry Jeffery
Priority: critical Milestone: Release 3.3
Component: Framework Keywords: Student
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description (last modified by Karl Palmen) (diff)

This is apparently caused when the sum regions exceed about 1% of the total data.

Change History

comment:1 Changed 6 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner changed from Anyone to Harry Jeffery

comment:2 Changed 6 years ago by Harry Jeffery

  • Status changed from assigned to inprogress

comment:3 Changed 6 years ago by Owen Arnold

User has provided this script, which is supposed to replicate the issue.

import sys
import os
sys.path.append(os.environ['MANTIDPATH'])
from mantid.simpleapi import * #Loads the Mantid algorithms
 
#Runnumber=str(raw_input('Enter the 8 digit run number: ')) #Will load a .RAW file without an extension
Runnumber='00185905'
#Pixels=str(raw_input('Enter the number of pixels to sum over: '))
Pixels=24
LoadedWorkspaceName= 'ENGINX' + Runnumber + '.raw'
ConvertedWorkspaceName=Runnumber + '-d2'
SummedWorkspaceName='Sum' + Runnumber
Load(Filename=LoadedWorkspaceName,OutputWorkspace=LoadedWorkspaceName, SpectrumMax='2400' )
ConvertUnits(InputWorkspace=LoadedWorkspaceName,OutputWorkspace=ConvertedWorkspaceName,Target='dSpacing',AlignBins='1')
SumNeighbours(InputWorkspace=ConvertedWorkspaceName,OutputWorkspace=SummedWorkspaceName,SumX=Pixels,SumY='1')
Last edited 6 years ago by Owen Arnold (previous) (diff)

comment:4 Changed 6 years ago by Harry Jeffery

Using the latest build of master the script completes successfully without a crash for me.

comment:5 Changed 6 years ago by Harry Jeffery

  • Status changed from inprogress to verify
  • Resolution set to worksforme

comment:6 Changed 6 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:7 Changed 6 years ago by Karl Palmen

  • Status changed from verifying to verify
  • Description modified (diff)
  • Tester Karl Palmen deleted

It works for me after I copied the raw file across. It alspo worked when I also copied across the accompanying files of the raw file, so showing no problem processing those files either.

The user did not specify, which type of computer the problem occurred on. It therefore needs testing on all supported systems. I tested on Windows7. I return to testing pool for it to be tested on other systems.

comment:8 Changed 6 years ago by Harry Jeffery

I tested on Ubuntu 14.04

comment:9 Changed 6 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:10 Changed 6 years ago by Owen Arnold

Agreed. Tested on OSX. Cant get it to crash.

comment:11 Changed 6 years ago by Owen Arnold

  • Status changed from verifying to closed

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10880

Note: See TracTickets for help on using tickets.