-
Notifications
You must be signed in to change notification settings - Fork 34
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 #176 from kushalbakshi/main
Update setup dependencies + tutorial setup + fix diagram
- Loading branch information
Showing
7 changed files
with
510 additions
and
1,035 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,19 +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"]["ephys_root_data_dir"] = os.getenv( | ||
"EPHYS_ROOT_DATA_DIR", dj.config["custom"].get("ephys_root_data_dir", "") | ||
) | ||
|
||
db_prefix = dj.config["custom"].get("database.prefix", "") | ||
|
||
from . import ephys_acute as ephys |
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
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