diff --git a/management/commands/set_contaminated.py b/management/commands/set_contaminated.py index ee5a309..8eebe2b 100644 --- a/management/commands/set_contaminated.py +++ b/management/commands/set_contaminated.py @@ -181,6 +181,16 @@ class Command(BaseCommand): [ {"RAdeg": 279.9804336, "DEdeg": 5.0669542, "flux_bin": 3}, {"RAdeg": 266.5173685, "DEdeg": -29.1252321, "flux_bin": 3}, + { + "RAdeg": 194.9350000, + "DEdeg": 27.9124722, + "flux_bin": 4, + }, # Coma Cluster, 2.5 degrees + { + "RAdeg": 187.6991667, + "DEdeg": 12.3852778, + "flux_bin": 4, + }, # Virgo cluster, 2.5 degrees ] ) diff --git a/views.py b/views.py index bef6616..a377917 100644 --- a/views.py +++ b/views.py @@ -414,7 +414,7 @@ class UpperLimitView(APIView): "separation_as": separation.arcsecond, } ) - + nearby_sources.sort(key=lambda src: src["separation_as"]) # REGION IMAGE SERVING # ****************************************************************