dont forget to add 'authority' field to top level authority records
authorTony Mack <tmack@cs.princeton.edu>
Mon, 28 Sep 2009 14:01:29 +0000 (14:01 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 28 Sep 2009 14:01:29 +0000 (14:01 +0000)
sfa/plc/sfaImport.py

index e3e7844..02208a1 100644 (file)
@@ -95,6 +95,7 @@ class sfaImport:
 
         if not auth_record:
             auth_record = GeniRecord(hrn=hrn, gid=auth_info.get_gid_object(), type="authority", pointer=-1)
+            auth_record['authority'] = get_authority(auth_record['hrn'])
             trace("  inserting authority record for " + hrn)
             table.insert(auth_record)