Changeset 8281 for mauRepo


Ignore:
Timestamp:
20/04/12 20:26:14 (8 years ago)
Author:
mnagni
Message:

Complete - # 22386: CEDA Observation - title
 http://team.ceda.ac.uk/trac/ceda/ticket/22386

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/libs/migration/processor/deployment.py

    r8279 r8281  
    124124        if doc_authors['authors'] in [DO_BADC, DO_NEODC]: 
    125125            doc_authors = findAuthorsInResource(self._dataEntityMigration) 
    126             whereAreAuthors = self._dataEntityMigration 
    127  
    128         i_party = createMO_Organization(name = CEDA) 
    129         observation.relatedParty.append(createMO_ResponsiblePartyInfo(MO_RoleValue.cl_curator, [i_party]))   
     126            whereAreAuthors = self._dataEntityMigration  
    130127                 
    131128        ind_names = [] 
     
    165162        for nm in ind_names: 
    166163            i_party.append(createCI_Individual(name = nm)) 
    167         if i_party: 
    168             observation.relatedParty.append(createMO_ResponsiblePartyInfo(MO_RoleValue.cl_coinvestigator, i_party))    
    169          
    170         del i_party[:] 
     164                 
    171165        for nm in org_names: 
    172166            i_party.append(createMO_Organization(name = nm)) 
     167             
    173168        if i_party: 
    174169            observation.relatedParty.append(createMO_ResponsiblePartyInfo(MO_RoleValue.cl_coinvestigator, i_party)) 
     
    393388            i_phone = createCI_Telephone(voice=['+44(0)1235 446432'])                                  
    394389            contact = createCI_Contact(phone=i_phone, address=i_address, onlineResource=i_onlineResources)                        
    395             party = createMO_Organization(name = 'NERC - British Atmospheric Data Centre', contactInfo = [contact]) 
     390            party = createMO_Organization(name = 'NERC - Earth Observation Data Centre', contactInfo = [contact]) 
    396391        elif provider_id == DO_UKSSDC: 
    397392            i_linkage = 'http://www.ukssdc.rl.ac.uk' 
Note: See TracChangeset for help on using the changeset viewer.