table field for 'name' in the record will now be hrn.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 8 Jul 2009 18:54:06 +0000 (18:54 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 8 Jul 2009 18:54:06 +0000 (18:54 +0000)
sfa/util/record.py

index af079f3..d99e3a9 100644 (file)
@@ -260,7 +260,7 @@ class GeniRecord(dict):
            self.set_pointer(dict['pointer'])
 
         self.set_type(dict['type'])
-        self['hrn'] = dict['name'] 
+        self['hrn'] = dict['hrn'] 
         self.update(dict)        
     
     ##