diff --git a/viewer/target_loader.py b/viewer/target_loader.py index 2590f163..4e72cc8a 100644 --- a/viewer/target_loader.py +++ b/viewer/target_loader.py @@ -1875,7 +1875,9 @@ def _tag_observations(self, tag, prefix, category, so_list): so_group.save() try: - so_tag = SiteObservationTag.objects.get(upload_name=tag, target=self.target) + so_tag = SiteObservationTag.objects.get( + upload_name=f"{prefix} - {tag}", target=self.target + ) # Tag already exists # Apart from the new mol_group and molecules, we shouldn't be # changing anything.