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.
1 parent 8384523 commit 00ef467Copy full SHA for 00ef467
nipype/utils/config.py
@@ -123,8 +123,8 @@ def cwd(self):
123
try:
124
self._cwd = os.getcwd()
125
except OSError:
126
- warn('Trying to run Nipype from a nonexistent directory "%s".',
127
- os.getenv('PWD', 'unknown'))
+ warn('Trying to run Nipype from a nonexistent directory "{}".'.format(
+ os.getenv('PWD', 'unknown')), RuntimeWarning)
128
raise
129
return self._cwd
130
0 commit comments