Skip to content

Commit 4a0ea42

Browse files
authored
Update config.py
1 parent 56df8f6 commit 4a0ea42

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

sdc_aws_utils/config.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
from sdc_aws_utils.logging import log
55
import swxsoc
6-
from swxsoc.util import util
6+
from swxsoc.util.util import create_science_filename as writer, parse_science_filename as parser
7+
8+
__all__ = [
9+
"parser",
10+
"writer",
11+
]
712

813
# Read config file
914
mission_config = swxsoc.config["mission"]
@@ -27,10 +32,6 @@
2732
INSTR_TO_BUCKET_NAME = {this_instr: f"{MISSION_NAME}-{this_instr}" for this_instr in INSTR_NAMES}
2833
INSTR_TO_PKG = dict(zip(INSTR_NAMES, INSTR_PKG))
2934

30-
# Import parser and writer from util
31-
parser = util.parse_science_filename
32-
writer = util.create_science_filename
33-
3435
# Get Incoming Bucket Name
3536
def get_incoming_bucket(environment: str = "DEVELOPMENT") -> str:
3637
"""

0 commit comments

Comments
 (0)