@@ -422,7 +422,7 @@ def upload_func(file_buffer, name, title):
422422 else :
423423 self .logger .warn (f"Metadata doesn't seem to exist and will not be used for plotting." )
424424 run_id , event_id , event_type , mjd = [0 ]* 4
425- unique_id = f'{ create_event_id (run_id , event_id )} _{ self .get_nside_string ()} '
425+ unique_id = f'{ create_event_id (run_id , event_id , event_type )} _{ self .get_nside_string ()} '
426426
427427 plot_title = f"Run: { run_id } Event { event_id } : Type: { event_type } MJD: { mjd } "
428428
@@ -698,7 +698,7 @@ def bounding_box(ra, dec, theta, phi):
698698 else :
699699 self .logger .warn (f"Metadata doesn't seem to exist and will not be used for plotting." )
700700 run_id , event_id , event_type , mjd = [0 ]* 4
701- unique_id = f'{ create_event_id (run_id , event_id )} _{ self .get_nside_string ()} '
701+ unique_id = f'{ create_event_id (run_id , event_id , event_type )} _{ self .get_nside_string ()} '
702702
703703 plot_title = f"Run: { run_id } Event { event_id } : Type: { event_type } MJD: { mjd } "
704704
@@ -951,7 +951,7 @@ def area(vs):
951951 saving_contours = []
952952 for contours in contours_by_level :
953953 saving_contours .append ([])
954- for contours in contours :
954+ for contour in contours :
955955 saving_contours [- 1 ].append ([])
956956 theta , phi = contour .T
957957 ras = phi
0 commit comments