Data Model version 2.1.2

Method: importData


    Load data from file, without triggering any other loads. If the guid or code of the file TopObject are already in memory you will get an error. The loaded file will be saved in the first repository on the search path, overriding anything that might be there already

guid: www.ccpn.ac.uk_Fogh_2007-10-11-15:05:49_00001__www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00047
OpType: other
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: from memops.format.xml import XmlIO
result = XmlIO.loadFromFile(self, filePath)
# set to modified, as the loaded version may not come from the topmost repository
result.__dict__['isModified'] = True

# Fix activeRepositories - NB must be done bypassing API
useRepository = result.packageLocator.findFirstRepository()
activeRepositories = dataDict.get('activeRepositories')
if not useRepository in activeRepositories:
  activeRepositories.insert(0, useRepository)
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Fri Mar 28 11:17:58 2014    from data model package  memops.api.Implementation.MemopsRoot   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk