Ticket #1742 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

SANS GUI: Add standard mechanism to register a new instrument interface

Reported by: Mathieu Doucet Owned by: Mathieu Doucet
Priority: major Milestone: Iteration 27
Component: Python Keywords:
Cc: Blocked By:
Blocking: Tester: Martyn Gigg

Description

Add a mechanism to add a new instrument-specific interface to the instrument interface factory.

Change History

comment:1 Changed 10 years ago by Mathieu Doucet

  • Owner set to Mathieu Doucet
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Mathieu Doucet

  • Status changed from assigned to accepted

comment:3 Changed 10 years ago by Mathieu Doucet

  • Milestone changed from Iteration 25 to Iteration 26

comment:4 Changed 10 years ago by Mathieu Doucet

  • Milestone changed from Iteration 26 to Iteration 27

comment:5 Changed 10 years ago by Mathieu Doucet

  • Milestone changed from Iteration 27 to Unassigned

comment:6 Changed 10 years ago by Mathieu Doucet

(In [8958]) Toy interface. Registering mechanism will probably stay as is implemented here. Registration is done in instrument_factory. Re #1742

comment:7 Changed 10 years ago by Mathieu Doucet

(In [8959]) Clean up. Re #1742

comment:8 Changed 10 years ago by Mathieu Doucet

  • Milestone changed from Unassigned to Iteration 27

comment:9 Changed 10 years ago by Mathieu Doucet

(In [9160]) Easy way to pick which instruments are allowed + pull up correct UI when loading a file from another instrument. Re #1742

comment:10 Changed 10 years ago by Mathieu Doucet

(In [9181]) templates Re #1742

comment:11 Changed 10 years ago by Mathieu Doucet

(In [9182]) easier still Re #1742

comment:12 Changed 10 years ago by Mathieu Doucet

(In [9189]) This should fix failing system test. Re #1742

comment:13 Changed 10 years ago by Mathieu Doucet

(In [9191]) This should permanently fix the problem with older inspect call signature. Re #1742

comment:14 Changed 10 years ago by Mathieu Doucet

(In [9195]) Fix bug that would reconnect button events each time the instrument is changed. Re #1742

comment:15 Changed 10 years ago by Mathieu Doucet

(In [9196]) Got rid of Reducer imports in base code. Re #1742

comment:16 Changed 10 years ago by Mathieu Doucet

(In [9201]) starting to normalize file and class names. Re #1742

comment:17 Changed 10 years ago by Mathieu Doucet

(In [9247]) Normalize file and class names. Re #1742

comment:18 Changed 10 years ago by Mathieu Doucet

(In [9257]) more refactor. Re #1742

comment:19 Changed 10 years ago by Mathieu Doucet

(In [9300]) Fix initialization problem. Re #1742

comment:20 Changed 10 years ago by Mathieu Doucet

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

Closing this ticket. The mechanism to add new instruments should now be easy enough. Generate stubs using the generate_stubs.py script, then modify the instrument factory.

comment:21 Changed 10 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:22 Changed 10 years ago by Martyn Gigg

  • Status changed from verifying to closed

Checked in 1.1.9515

I was able to generate an instrument interface and all seems to work okay.

comment:23 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2589

Note: See TracTickets for help on using tickets.