Skip to content
Merged
Changes from 2 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
4 changes: 3 additions & 1 deletion nipype/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ 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