Skip to content

Adding PASTRO_READY label along with the first upload

Manoj Kovalam requested to merge feature/p_astro_changes into main

This MR is a small change that adds the PASTRO_READY label along with the upload instead of writing the label independently. This should avoid any problems where p_astro is uploaded and label is not written (in case of gracedb traffic). Also avoids using multiple loops.

Basically squashed these two independent steps -

  1. self.gracedb.writeLog( event_id, "source probabilities", filename=p_astro_fp )
  2. self.gracedb.writeLabel(event_id, "PASTRO_READY")

into one -

  1. self.gracedb.writeLog( event_id, "source probabilities", filename=p_astro_fp, label="PASTRO_READY" )

Merge request reports