Ticket #6600 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

python interpreter throws 'Unknown property type' error with LoadSassena

Reported by: Jose Borreguero Owned by: Jose Borreguero
Priority: major Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

Loading a sassena file in the python interpreter or the script window throws

Example:

LoadSassena(Filename='/tmp/charge06fqt_after.h5',OutputWorkspace='other')
RuntimeError: Unknown property type encountered. "other_qvectors" on "LoadSassena" is not understood by Python. Please contact development team
  at line 1 in '__main__'
  caused by line 490 in '/home/jmborr/devel/mantidproject/mantid/Code/debug/bin/mantid/simpleapi.py'
  caused by line 410 in '/home/jmborr/devel/mantidproject/mantid/Code/debug/bin/mantid/simpleapi.py'

Attachments

example.h5 (17.7 KB) - added by Jose Borreguero 8 years ago.

Change History

comment:1 Changed 8 years ago by Jose Borreguero

Refs #6600 Removed unneeded declared properies

I was done declareProperty for each member workspace, which is not needed.

Changeset: f037efedfcc40d5a0c66fb3dea236d4bebe8791b

comment:2 Changed 8 years ago by Jose Borreguero

  • Status changed from new to accepted

Changed 8 years ago by Jose Borreguero

comment:3 Changed 8 years ago by Jose Borreguero

Refs #6600 remove commented lines

Changeset: c83aa3a009b215fca61abcb9644bf76a891b68e4

comment:4 Changed 8 years ago by Jose Borreguero

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

Test: Loading the attached file in the python interpreter:

ws=LoadSassena(Filename='example.h5')

should report no errors now.

comment:5 Changed 8 years ago by Andrei Savici

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

comment:6 Changed 8 years ago by Andrei Savici

  • Status changed from verifying to closed

This thing works, but it cannot overwrite the workspace if it is there already. See ticket #6647

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7446

Note: See TracTickets for help on using tickets.