Ticket #7372 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Update Reflectometry GUI

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: critical Milestone: Release 2.6
Component: Reflectometry Keywords:
Cc: Blocked By: #7381, #7384, #7394
Blocking: #7466, #7472 Tester: Nick Draper

Description (last modified by Owen Arnold) (diff)

Max has update the scripts behind his GUI, and needs these updating

We are about to start a process of managing these scripts ourself, and subjecting them to automatic testing, so this will probably be the last time we accept the script updates verbatim.

Attachments

iterdata.zip (217.9 KB) - added by Owen Arnold 7 years ago.
Test data + script

Change History

comment:1 Changed 7 years ago by Owen Arnold

  • Status changed from new to accepted

comment:2 Changed 7 years ago by Owen Arnold

Last edited 7 years ago by Owen Arnold (previous) (diff)

comment:3 Changed 7 years ago by Owen Arnold

Need to get an updated INTER IDF from Max before this work can proceed.

comment:4 Changed 7 years ago by Owen Arnold

refs #7372. Update system tests.

Changeset: c7f5ac2425f41070cd385cebd35d4e6f1428b2f5

comment:5 Changed 7 years ago by Owen Arnold

refs #7372. Add updated script files.

Changeset: d8fe81d15296ad1dc07a4671a68446a76526b2c0

comment:6 Changed 7 years ago by Owen Arnold

refs #7372. Move to new version of python API.

Changeset: 7ad053750e66779310ec0b89598be05340dc75fd

comment:7 Changed 7 years ago by Owen Arnold

  • Blocked By 7381 added

comment:8 Changed 7 years ago by Owen Arnold

Will need to re-merge from master before continuing with this. I'm also going to add the other tickets pending testing as blockers to this.

comment:9 Changed 7 years ago by Owen Arnold

  • Blocked By 7384, 7394 added

comment:10 Changed 7 years ago by Owen Arnold

  • Description modified (diff)

This should be fine to do now.

comment:11 Changed 7 years ago by Owen Arnold

refs #7372. Add updated script files.

Changeset: 4dd634ae2877eff8c4b8a06eacdd5c51eda6c32a

comment:12 Changed 7 years ago by Owen Arnold

refs #7372. Move to new version of python API.

Changeset: 53662000256a761603b748bfd2727046306e84a4

comment:13 Changed 7 years ago by Owen Arnold

  • Priority changed from major to critical
  • Description modified (diff)

comment:14 Changed 7 years ago by Owen Arnold

refs #7372. Further migration work to v2 of python API

Things appear to be running the same in this gui+script as they were in the old gui+script. I've done a little refactoring work, but the bulk of the refactoring work will have to wait, as there are many violations.

Changeset: 4bfe2c13f753035845f177e1858b200823046a50

Changed 7 years ago by Owen Arnold

Test data + script

comment:15 Changed 7 years ago by Owen Arnold

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

Tester:

Install version 2.5 or 2.5.3 of Mantid and also build this branch. Also, Unpack the attached compressed file.

Starting with the old version of Mantid, follow this procedure.

  • Start up MantidPlot and select Interfaces -> ISIS Reflectometry
  • Add the unpacked directory location to your managed user directories
  • From the drop down on the reflectometry interface, set the instrument to INTER
  • From the File menu in the reflectometry interface, load the *.tbl file (also in the unpacked directory)
  • Click the 'Process button' and hit 'Delete' if prompted in the GUI (this is a bug to be fixed later)
  • You should end up with two plots both with momentum transfer on the x-axis

Without closing the current open version of mantidplot (the older one), start up MantidPlot built from this branch. Follow exactly the same procedure again, and you should get near-identical plots generated. You can compare the plots visually between the two versions of MantidPlot.

On both the old and the new interfaces, there are selectable options for 'stitching'. Click these and re-run. Again, compare the plots.

Tester, I'll also be running these interfaces by the Reflectometry user group at ISIS, and they were the ones who provided the changes, so providing the interfaces are running without generating any python errors, owing to the migration, our job on this ticket is done. Scientific validation of the output can be provided by the Reflectometry group.

comment:16 Changed 7 years ago by Owen Arnold

  • Component changed from Framework to Reflectometry

comment:17 Changed 7 years ago by Nick Draper

  • Status changed from verify to reopened
  • Resolution fixed deleted

Functionality is Passed, but if the Delete action is being sorted on another ticket then please specify the ticket number. also the window title is MainWindow.

comment:18 Changed 7 years ago by Nick Draper

  • Status changed from reopened to assigned

comment:19 Changed 7 years ago by Owen Arnold

  • Blocking 7466 added

comment:20 Changed 7 years ago by Owen Arnold

Annoying Delete issue has been documented and assigned in #7466.

comment:21 Changed 7 years ago by Owen Arnold

  • Status changed from assigned to accepted

comment:22 Changed 7 years ago by Owen Arnold

refs #7372. Give the GUI a proper name.

This is a bit hackey, because Max has lost the original *.ui file, and clearly that would be the best place to fix it. However, it's going to be a semi-major operation to reverse-engineer the ui file out of this generated file. We do plan to do it at some point.

Changeset: d843acc2217d08303a1b5d56d5badfe28324eee5

comment:23 Changed 7 years ago by Owen Arnold

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

comment:24 Changed 7 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:25 Changed 7 years ago by Nick Draper

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/7372_new_gui_code'

comment:26 Changed 7 years ago by Nick Draper

As earlier functional test passed, the remaining checks have passed by code review

comment:27 Changed 7 years ago by Owen Arnold

  • Blocking 7472 added

comment:28 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8218

Note: See TracTickets for help on using tickets.