Ticket #4950 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Lack of functionality on new ConfigService Python object

Reported by: Peter Parker Owned by: Martyn Gigg
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

Previously it had been possible to find the lower-cased short version of the current instrument's name via:

ConfigService().facility().instrument(ins).shortName().lower()

This is no longer possible as facility() is not defined in the new API yet.

Change History

comment:1 Changed 9 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Martyn Gigg

Add Facility and Instrument Info exports to Python. Refs #4950

The old api had lowercase 'i' for the facility.instruments but the C++ has uppercase. Lowercase follows our style so the C++ has been changed so that the new can follow this.

Changeset: d40bc3e4b86acff831355f693dcaeddaae0bd0e4

comment:3 Changed 9 years ago by Martyn Gigg

Remove header reference from CMake file. Refs #4950.

Changeset: a3b30e7cd735026572f3aec3076c7a3e047fc8f4

comment:4 Changed 9 years ago by Martyn Gigg

Fix facilities test. Refs #4950.

Changeset: 013b1782951c71c10939e1de31c2f5b6ba6f9c3a

comment:5 Changed 9 years ago by Martyn Gigg

Fix windows export declaration. Refs #4950.

Changeset: bd13695377e9149ab08e1f59a754745284d7c3a9

comment:6 Changed 9 years ago by Martyn Gigg

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

comment:7 Changed 9 years ago by Martyn Gigg

Add Facility and Instrument Info exports to Python. Refs #4950

The old api had lowercase 'i' for the facility.instruments but the C++ has uppercase. Lowercase follows our style so the C++ has been changed so that the new can follow this.

Changeset: d40bc3e4b86acff831355f693dcaeddaae0bd0e4

comment:8 Changed 9 years ago by Martyn Gigg

Remove header reference from CMake file. Refs #4950.

Changeset: a3b30e7cd735026572f3aec3076c7a3e047fc8f4

comment:9 Changed 9 years ago by Martyn Gigg

Fix facilities test. Refs #4950.

Changeset: 013b1782951c71c10939e1de31c2f5b6ba6f9c3a

comment:10 Changed 9 years ago by Martyn Gigg

Fix windows export declaration. Refs #4950.

Changeset: bd13695377e9149ab08e1f59a754745284d7c3a9

comment:11 Changed 8 years ago by Andrei Savici

  • Status changed from verify to verifying
  • Tester set to Andrei Savici

comment:12 Changed 8 years ago by Andrei Savici

  • Status changed from verifying to closed

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5796

Note: See TracTickets for help on using tickets.