Ticket #3006 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

FindSNSNexus not working in CalibrateRectangularDetectors

Reported by: Vickie Lynch Owned by: Vickie Lynch
Priority: major Milestone: Iteration 29
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Stuart Campbell

Description

Antonio showed me a segfault on the snap analysis computer from FindSNSNexus called from the CalibrateRectangularDetectors python algorithm. Temporary fix was to copy event nexus file into working directory.

Change History

comment:1 Changed 9 years ago by Vickie Lynch

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Vickie Lynch

Pete upgraded snap to the latest release which should fix this problem. I will leave this ticket open in case this happens again.

comment:3 Changed 9 years ago by Vickie Lynch

This problem is caused by Mantid on Rhel5 using python2.4. Temporary fix is:

cp /SNS/software/lib/python2.5/site-packages/findnexus_lib.py /usr/lib/python2.4/site-packages

FindSNSNexus does not work for files that contain "_histo"

FindSNSNeXus-[Error] Error in execution of algorithm FindSNSNeXus:

FindSNSNeXus-[Error] Python error: File "/SNSlocal/SNAP/IPTS-4098/0/6416/NeXus/SNAP_6416.nxs" does not exist

at line 80 in '/opt/Mantid/plugins/PythonAlgs/FindSNSNeXus.py'

caused by line 45 in '/opt/Mantid/plugins/PythonAlgs/FindSNSNeXus.py'

comment:4 Changed 9 years ago by Vickie Lynch

(In [12781]) Refs #3006 _histo.nxs extension added to FindSNSNeXus.py for finding SavetoSNSHistogramNexus input

comment:5 Changed 9 years ago by Vickie Lynch

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

comment:6 Changed 9 years ago by Vickie Lynch

  • Status changed from verify to reopened
  • Resolution fixed deleted

comment:7 Changed 9 years ago by Vickie Lynch

  • Status changed from reopened to accepted

comment:8 Changed 9 years ago by Vickie Lynch

(In [12787]) Refs #3006 fixed import line

comment:9 Changed 9 years ago by Vickie Lynch

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

comment:10 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:11 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to verify
  • Tester Janik Zikovsky deleted

Couldn't test this on my machine; version on SNAP is too old.

comment:12 Changed 9 years ago by Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:13 Changed 9 years ago by Stuart Campbell

Is there any particular dataset to use for testing ?

comment:14 Changed 9 years ago by Stuart Campbell

  • Status changed from verifying to closed

Tried with some random values for run SNAP 7000. The algorithm doesn't work completely as I am probably using rubbish values, but it does get past the FindSNSNexus without a problem.

Only problem was that I needed to install findnexus into the system python first!

comment:15 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3853

Note: See TracTickets for help on using tickets.