Ejemplo n.º 1
0
 def activate_compare_version(self):
     """Set the compare version to Active. Should only be done after results
     are finished uploading"""
     cv = CompareVersion(self.compare_version_id, env=self.upload_env)
     cv._update_status(gbd_process_version_status['ACTIVE'])
Ejemplo n.º 2
0
 def deactivate_compare_version(self):
     """Set the compare version to Delete. Should only be done after run
     has failed"""
     cv = CompareVersion(self.compare_version_id, env=self.upload_env)
     cv._update_status(gbd_process_version_status['DELETED'])