Skip to content

Commit

Permalink
Tries to fix test by changing how path to data.toml is found
Browse files Browse the repository at this point in the history
  • Loading branch information
dulte committed Sep 16, 2024
1 parent 463d795 commit 1282d34
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pyaro_readers/eeareader/EEATimeseriesReader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import logging
from os import path

from tqdm import tqdm
from datetime import datetime, timedelta

Expand All @@ -20,9 +23,13 @@
except ImportError: # python <3.11
import tomli as tomllib


logger = logging.getLogger(__name__)

FLAGS_VALID = {-99: False, -1: False, 1: True, 2: False, 3: False, 4: True}
VERIFIED_LVL = [1, 2, 3]
DATA_TOML = Path(__file__).parent / "data.toml"
DATA_TOML = path.join(path.dirname(__file__), "data.toml")
# Path(__file__).parent / "data.toml"
FILL_COUNTRY_FLAG = False

TIME_FORMAT = "%Y-%m-%d %H:%M:%S"
Expand Down

0 comments on commit 1282d34

Please sign in to comment.