Method: getCoords
special purpose getter for coords, creating objects if not present
guid:
|
www.ccpn.ac.uk_Fogh_2011-04-11-17:36:15_00001
|
OpType:
|
get
|
OpSubType:
|
None
|
isQuery:
|
True
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
models = self.topObject.models
dd = dataDict['coords']
if len(dd) < len(models):
missing = models.difference(x.model for x in dd.values())
for model in missing:
Coord(self, model=model)
result = frozenset(dd.values())
|
|