Ticket #3987 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Upcast shared_ptr<DataItem> to correct type in Python

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

Currently all getProperty returns in python can only be seen as Workspace types. We need to ensure that the class that is highest in the chain that has been exported is seen,

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

Refs #3987. A large step forward in upcasting pointers for Python.

Changeset: 6c30d7a1d07877f44f5f5af232ad93712bc587f4

comment:3 Changed 9 years ago by Martyn Gigg

Refs #3987. Fix an error with a .in file that I missed.

Changeset: 354140436ca8b88759a27bac1cd6f70ccce94cf6

comment:4 Changed 9 years ago by Martyn Gigg

Refs #3987. A large step forward in upcasting pointers for Python.

Changeset: 6c30d7a1d07877f44f5f5af232ad93712bc587f4

comment:5 Changed 9 years ago by Martyn Gigg

Refs #3987. Fix an error with a .in file that I missed.

Changeset: 354140436ca8b88759a27bac1cd6f70ccce94cf6

comment:6 Changed 9 years ago by Martyn Gigg

Refs #3987. Descendents of DataItem are upcast correctly from properties.

Changeset: 04fc436e85daa4ecea63b58f95e8c5d5e872d824

comment:7 Changed 9 years ago by Martyn Gigg

Refs #3987. Minor tweak to ptr upcasting and exported IEventWorkspace.

Changeset: bf1b6943f862cf46f42d54e3da6afd84e8759fc0

comment:8 Changed 9 years ago by Martyn Gigg

Refs #3987. Fix IEventWorkspace tests.

Changeset: 7e09b4466e48d5553e3ecf7a3847819e300b069c

comment:9 Changed 9 years ago by Martyn Gigg

Refs #3987. More property tests.

Changeset: 7c12c908670dfdeef05e942eb834e07719b3b792

comment:10 Changed 9 years ago by Martyn Gigg

Refs #3987. A better name for the current type handler.

Changeset: b1c5715a4592c3a4c39e1449609e04fac4fecc5a

comment:11 Changed 9 years ago by Martyn Gigg

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

comment:12 Changed 9 years ago by Martyn Gigg

Refs #3987. Descendents of DataItem are upcast correctly from properties.

Changeset: 04fc436e85daa4ecea63b58f95e8c5d5e872d824

comment:13 Changed 9 years ago by Martyn Gigg

Refs #3987. Minor tweak to ptr upcasting and exported IEventWorkspace.

Changeset: bf1b6943f862cf46f42d54e3da6afd84e8759fc0

comment:14 Changed 9 years ago by Martyn Gigg

Refs #3987. Fix IEventWorkspace tests.

Changeset: 7e09b4466e48d5553e3ecf7a3847819e300b069c

comment:15 Changed 9 years ago by Martyn Gigg

Refs #3987. More property tests.

Changeset: 7c12c908670dfdeef05e942eb834e07719b3b792

comment:16 Changed 9 years ago by Martyn Gigg

Refs #3987. A better name for the current type handler.

Changeset: b1c5715a4592c3a4c39e1449609e04fac4fecc5a

comment:17 Changed 9 years ago by Nick Draper

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

comment:18 Changed 9 years ago by Nick Draper

  • Status changed from verifying to closed

tested with groupworkspaces, event and matrix workspaces

comment:19 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4834

Note: See TracTickets for help on using tickets.