-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from MilagrosMarin/main
Update setup dependencies + fix YAML bug + fix diagram + fix typo in docstring + tutorial setup
- Loading branch information
Showing
10 changed files
with
754 additions
and
900 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1 @@ | ||
import os | ||
import datajoint as dj | ||
|
||
if "custom" not in dj.config: | ||
dj.config["custom"] = {} | ||
|
||
# overwrite dj.config['custom'] values with environment variables if available | ||
|
||
dj.config["custom"]["database.prefix"] = os.getenv( | ||
"DATABASE_PREFIX", dj.config["custom"].get("database.prefix", "") | ||
) | ||
|
||
dj.config["custom"]["dlc_root_data_dir"] = os.getenv( | ||
"DLC_ROOT_DATA_DIR", dj.config["custom"].get("dlc_root_data_dir", "") | ||
) | ||
|
||
dj.config["custom"]["dlc_processed_data_dir"] = os.getenv( | ||
"DLC_PROCESSED_DATA_DIR", dj.config["custom"].get("dlc_processed_data_dir", "") | ||
) | ||
|
||
db_prefix = dj.config["custom"].get("database.prefix", "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
""" | ||
Package metadata | ||
""" | ||
__version__ = "0.2.10" | ||
__version__ = "0.2.11" |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters