From 641c9421b2e11f22f41dae42fb5433fb86099465 Mon Sep 17 00:00:00 2001 From: tyrin Date: Thu, 8 May 2025 15:01:07 +0300 Subject: [PATCH] update --- README.md | 2 +- views.py | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 87015a7..14cc50f 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Syntax: python manage.py load_survey --counts='*path_to_counts_map*' --exposure= **Before public deployment views providing direct pixel data should be altered to not include it in the response json.** - PixelAggregateView: - Mostly for troubleshooting, outputs the aggregated data across specified surveys for a healpix pixel. + For testing, outputs the aggregated data across specified surveys for a healpix pixel. Returns: Sum of counts and exposure over specified surveys for the specified pixel. diff --git a/views.py b/views.py index e4370d6..b07a72c 100644 --- a/views.py +++ b/views.py @@ -38,12 +38,6 @@ def parse_survey_param(raw: str) -> list[int]: # ************************************************************** class PixelAggregateView(APIView): - """ - GET /pixel-aggregate/?pixel=&survey= - - can be a single number (e.g. 5), - a CSV list (e.g. 1,3,7) or a hyphen range (e.g. 2-5). - Returns sums of counts & exposure across the selected surveys. - """ def get(self, request): # GET PARAMETERS FROM THE QUERY