Skip to content

Commit

Permalink
Fix path issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
lymereJ committed Oct 27, 2023
1 parent 0dfb38c commit 3c2aef3
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions copper/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
"""

import os
from pathlib import Path

LOGGING_FORMAT = "%(asctime)s - %(levelname)s - %(message)s"
filep = Path(__file__)
CHILLER_SCHEMA_PATH = os.path.join(filep, "/schema/", "copper.chiller.schema.json")
CHILLER_GENE_SCHEMA_PATH = os.path.join(
filep, "/schema/", "copper.chiller.generate_set_of_curves.schema.json"
ROOT_DIR = os.path.dirname(__file__)
CHILLER_SCHEMA_PATH = f"{ROOT_DIR}/../schema/copper.chiller.schema.json"
CHILLER_GENE_SCHEMA_PATH = (
f"{ROOT_DIR}/../schema/copper.chiller.generate_set_of_curves.schema.json"
)
CHILLER_ACTION_SCHEMA_PATH = os.path.join(
filep, "/schema/", "copper.chiller.action.schema.json"
)
SCHEMA_PATH = os.path.join(filep, "/schema/", "copper.schema.json")
CHILLER_ACTION_SCHEMA_PATH = f"{ROOT_DIR}/../schema/copper.chiller.action.schema.json"
SCHEMA_PATH = f"{ROOT_DIR}/../schema/copper.schema.json"

0 comments on commit 3c2aef3

Please sign in to comment.