From 8c3a96406b9071f895212b5341537bcc2e610d23 Mon Sep 17 00:00:00 2001 From: Birdmachine Date: Wed, 15 Jan 2025 15:04:17 -0500 Subject: [PATCH] Cleaning --- src/TSV_helper.py | 3 +-- src/api/cedar_api.py | 3 +-- src/routes/validation/__init__.py | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/TSV_helper.py b/src/TSV_helper.py index fcc7ecee..24c7521d 100644 --- a/src/TSV_helper.py +++ b/src/TSV_helper.py @@ -1,8 +1,7 @@ import logging from pathlib import Path import csv -# @MAX Is this the right way to get this in here? with a _helper? OR should this go in Utils? -# OR an upcomming Contributors Helper? + from hubmap_commons.hubmap_const import HubmapConst # Set logging format and level (default is warning) diff --git a/src/api/cedar_api.py b/src/api/cedar_api.py index 6c0862d0..07594519 100644 --- a/src/api/cedar_api.py +++ b/src/api/cedar_api.py @@ -10,8 +10,7 @@ class CEDARApi: def __init__(self): hubmap_APIkey = current_app.config['CEDAR_API_KEY'] self.auth = HTTPBasicAuth('apiKey', hubmap_APIkey) - self.ssl_verification_enabed = False # @MAX Needed - + self.ssl_verification_enabed = False # Schema Versions Retrieval def get_schema_details(self, schema_id: str) -> object: diff --git a/src/routes/validation/__init__.py b/src/routes/validation/__init__.py index 27cd05f9..66e1f116 100644 --- a/src/routes/validation/__init__.py +++ b/src/routes/validation/__init__.py @@ -342,9 +342,6 @@ def validate_records_uuids(records: list, entity_type: str, sub_type, pathname: 'There are invalid `uuids` and/or unmatched entity sub types', errors, dict_only=True) -# @REVIEW? @MAX - - @validation_blueprint.route('/metadata/validate', methods=['POST']) def validate_metadata_upload(): print("validate_metadata_upload")