We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c47f889 + 2026787 commit b5cb2aaCopy full SHA for b5cb2aa
nipype/utils/config.py
@@ -91,7 +91,7 @@ def __init__(self, *args, **kwargs):
91
self._config = configparser.ConfigParser()
92
self._cwd = None
93
94
- config_dir = os.path.expanduser("~/.nipype")
+ config_dir = os.path.expanduser(os.getenv("NIPYPE_CONFIG_DIR", default="~/.nipype"))
95
self.data_file = os.path.join(config_dir, "nipype.json")
96
97
self.set_default_config()
0 commit comments