Skip to content

Commit

Permalink
add current_project_folder env variable to __init_
Browse files Browse the repository at this point in the history
  • Loading branch information
MilagrosMarin committed Oct 2, 2023
1 parent 7ce6007 commit 7980338
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions element_deeplabcut/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@
"DLC_ROOT_DATA_DIR", dj.config["custom"].get("dlc_root_data_dir", "")
)

dj.config["custom"]["current_project_folder"] = os.getenv(
"CURRENT_PROJECT_FOLDER", dj.config["custom"].get("current_project_folder", "")
)
db_prefix = dj.config["custom"].get("database.prefix", "")

0 comments on commit 7980338

Please sign in to comment.