Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nipype/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self, *args, **kwargs):
self._config = configparser.ConfigParser()
self._cwd = None

config_dir = os.path.expanduser("~/.nipype")
config_dir = os.path.expanduser(os.getenv("NIPYPECONFDIR", default="~/.nipype"))
self.data_file = os.path.join(config_dir, "nipype.json")

self.set_default_config()
Expand Down