From be127621538194a7851399970652c5b3cdc577d4 Mon Sep 17 00:00:00 2001 From: Kalev Takkis Date: Fri, 16 Feb 2024 14:43:59 +0000 Subject: [PATCH] Renamed canon- and conf site tags --- viewer/target_loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/viewer/target_loader.py b/viewer/target_loader.py index 8878bda9..edad072e 100644 --- a/viewer/target_loader.py +++ b/viewer/target_loader.py @@ -1724,7 +1724,7 @@ def process_bundle(self): # tag site observations for val in canon_site_objects.values(): # pylint: disable=no-member - tag = f"{val.instance.canon_site_num} - {val.instance.name}" + tag = f"{val.instance.canon_site_num} - {''.join(val.instance.name.split('+')[1:-1])}" so_list = SiteObservation.objects.filter( canon_site_conf__canon_site=val.instance ) @@ -1739,7 +1739,7 @@ def process_bundle(self): tag = ( f"{val.instance.canon_site.canon_site_num}" + f"{next(numerators[val.instance.canon_site.canon_site_num])}" - + f" - {val.instance.name}" + + f" - {val.instance.name.split('+')[0]}" ) so_list = [ site_observation_objects[strip_version(k)].instance