Skip to content

Commit

Permalink
W605 - try pulling r str out of test doc-string and instead as a comm…
Browse files Browse the repository at this point in the history
…ent. Comment shouldn't cause problems but this one has in the past.
  • Loading branch information
jbousquin committed Aug 2, 2024
1 parent 8c1bd84 commit be5cc9a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions harmonize_wq/tests/test_harmonize_WQP.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- coding: utf-8 -*-
"""
This will import when run from CI because sys.path[0] == cur_dir
DIRPATH = r'L:\Public\jbousqui\Code\GitHub\harmonize-wq\harmonize_wq\tests'
This script doesn't test query/download of the data using dataretrieval,
instead the script is focused on processing, tidying and harmonizing data
results from a query read from a ?csv. The exception is the bounding box query
Expand All @@ -24,11 +21,12 @@

# CI
DIRPATH = os.path.dirname(os.path.realpath(__file__))
# DIRPATH = r"L:\Public\jbousqui\Code\GitHub\harmonize-wq\harmonize_wq\tests"

# Test datasets
test_dir = os.path.join(DIRPATH, "data")

AOI_URL = r"https://github.com/USEPA/Coastal_Ecological_Indicators/raw/master/DGGS_Coastal/temperature_data/TampaBay.geojson"
AOI_URL = "https://github.com/USEPA/Coastal_Ecological_Indicators/raw/master/DGGS_Coastal/temperature_data/TampaBay.geojson"

# results for dataretrieval.wqp.what_sites(**query)
STATIONS = pandas.read_csv(os.path.join(test_dir, "wqp_sites.txt"))
Expand Down

0 comments on commit be5cc9a

Please sign in to comment.