Skip to content

Commit

Permalink
fixed system variables
Browse files Browse the repository at this point in the history
  • Loading branch information
iprafols committed Oct 3, 2023
1 parent 0598ede commit 1d83f81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions py/squeze/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
QSO_COLS = ("ra dec thing_id plate mjd fiberid z_vi class_person z_conf_person "
"boss_target1 ancillary_target1 ancillary_target2 eboss_target0")

# add system variables required to load the default configuration
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
SQUEZE = THIS_DIR.split("py/squeze")[0]
os.environ["SQUEZE"] = SQUEZE


default_config = {
"general": {
"mode": "training",
Expand Down

0 comments on commit 1d83f81

Please sign in to comment.