Ticket #8263 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

At least one Tube Calibration Script does not work.

Reported by: Karl Palmen Owned by: Karl Palmen
Priority: major Milestone: Release 3.1
Component: Framework Keywords:
Cc: anders.markvardsen@…, gesner.passos@… Blocked By:
Blocking: Tester: Anders Markvardsen

Description

If found one of the example scripts in ...\mantid\Code\Mantid\scripts\Calibration\Examples did not work. It was TubeCalibDemoMaps.py and the PeakFile keyword was rejected there. This needs fixing or removing if no longer needed.

Also all other scripts need to be checked, if any do not work either fix or remove if no longer needed.

Attachments

merlinfail.png (143.8 KB) - added by Keith Brown 7 years ago.
the merlin instrument failing the test

Change History

comment:1 Changed 7 years ago by Karl Palmen

  • Owner set to Karl Palmen
  • Milestone changed from Backlog to Release 3.1

comment:2 Changed 7 years ago by Karl Palmen

  • Status changed from new to inprogress

comment:3 Changed 7 years ago by Karl Palmen

None of the example files remain in the git repository. They have been removed.

comment:4 Changed 7 years ago by Karl Palmen

But there are examples in MantidInstall. I tried a new install and it put them there despite being removed from old install.

comment:5 Changed 7 years ago by Karl Palmen

Examples have now appeared in my repository.

comment:6 Changed 7 years ago by Karl Palmen

The examples in http://www.mantidproject.org/Tube_Calibration_Examples work if ran through the scriptlets quoted there.

comment:7 Changed 7 years ago by Karl Palmen

The following example files were not run in the course of the previously mentioned example page (they have no .pyc file).

TubeCalibDemoMaps_B1.py, TubeCalibDemoMaps_C4C3.py, TubeCalibDemoMaps_C4C3C2.py, TubeCalibDemoMaps_D2.py, TubeCalibDemoMaps_D2_WideMargins.py, TubeCalibDemoMaps+D4.py, TubeCalibDemoMaps_Simple.py,

TubeCalibDemoMerlin_Adjustable.py, TubeCalibDemoMerlin_Simple.py,

TubeCalibDemoWish_5panels.py, TubeCalibDemoWish0.py, TubeCalibDemoWish1.py.

comment:8 Changed 7 years ago by Karl Palmen

All MAPS scripts work.

comment:9 Changed 7 years ago by Karl Palmen

TubeCalibDemoMerlin_Adjustable.py does not work correctly. The use of UsePeakFile boolean needs sorting out. Also numpy needs importing.

comment:10 Changed 7 years ago by Karl Palmen

Import numpy in TubeCalibDemoMerlin_Adjustable.py re #8263

Signed-off-by: Karl Palmen <karl.palmen@…>

Changeset: c14b6cccc6978bc0f14c0cb218f3dabea5602d3b

comment:11 Changed 7 years ago by Karl Palmen

Import numpy in TubeCalibDemoMerlin_Simple.py re #8263

Signed-off-by: Karl Palmen <karl.palmen@…>

Changeset: fa76bb339489f748bea0f406f8c9c44b0d837552

comment:12 Changed 7 years ago by Karl Palmen

Remove TubeCalibDemoMerlin_Adjustable.py re #8263

This example is no longer needed. It demonstrated a withdrawn feature and was the example that no longer worked.

Signed-off-by: Karl Palmen <karl.palmen@…>

Changeset: 6c88904377ada5be67b481d071481095a0db0c33

comment:13 Changed 7 years ago by Karl Palmen

All scripts work, except TubeCalibDemoMerlin_Adjustable.py, which has been removed and TubeCalibDemoMerlin_Simple.py which has since had an import of numpy added. They should all work now.

comment:14 Changed 7 years ago by Karl Palmen

To test, check that TubeCalibDemoMerlin_Adjustable.py has been removed and run any scripts that have been modified by this ticket (only one TubeCalibDemoMerlin_Simple.py).

You may also check the wiki http://www.mantidproject.org/Tube_Calibration and run other scripts if you wish.

comment:15 Changed 7 years ago by Karl Palmen

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

comment:16 Changed 7 years ago by Keith Brown

  • Status changed from verify to verifying
  • Tester set to Keith Brown

Changed 7 years ago by Keith Brown

the merlin instrument failing the test

comment:17 Changed 7 years ago by Keith Brown

  • Status changed from verifying to reopened
  • Resolution fixed deleted

couple of things: i tried to run TubeCalibDemoMerlin_Simple.py and couldn't find the file initially, the script didn't tell me where to find it. Ended up looking it up in the journals and found it in cycle_11_5, but a point in the right direction would have helped.

After finding the file, the script didn't work properly, as the instrument didn't look right afterwards, see the image I attached

comment:18 Changed 7 years ago by Karl Palmen

TubeCalibDemoMerlin_Simple.py could be removed having been superceded by TubeCalibDemoMerlin.py, if it can't be fixed easily.

comment:19 Changed 7 years ago by Karl Palmen

  • Status changed from reopened to inprogress

Remove TubeCalibDemoMaps_Simple.py re #8263

Signed-off-by: Karl Palmen <karl.palmen@…>

Changeset: e64d67e8c09fa9d129e542568c3bb4e7ff1e13ca

comment:20 Changed 7 years ago by Karl Palmen

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

comment:21 Changed 7 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester changed from Keith Brown to Anders Markvardsen

comment:22 Changed 7 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/8263_tube_calib_examples'

Full changeset: 5f1b2288f9e8c83e43475fe56bbb29fd549aa848

comment:23 Changed 7 years ago by Anders Markvardsen

scripts which have been superceded have been removed

comment:24 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9108

Note: See TracTickets for help on using tickets.