Bug #632

Strange behavior of Lattice2DIFParameters from python

Added by pospelov over 6 years ago. Updated over 6 years ago.

Status:RejectedStart date:10 Mar 2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

It looks like python is completely happy with following

lattice_params = Lattice2DIFParameters()
lattice_params.m_length_1 = 20.0*nanometer
lattice_params.m_xi = 0.0*degree
lattice_params.m_blablabla = 0.0

I.e. m_blablabla parameter doesn't exists, but Python interpreter doesn't complain.

History

#1 Updated by pospelov over 6 years ago

  • Description updated (diff)
  • Status changed from New to Rejected

Ok, ok,
according to Walter it is a normal behaviour, but we probably have to user getters/setters then.

Also available in: Atom PDF