Issue corrected method indentation problem in NiftyNetGlobalConfig class
@@ -14,10 +14,9 @@ class NiftyNetGlobalConfig(object):
self._config_home = join(expanduser('~'), '.niftynet')
self._config_file = join(self._config_home, 'config.ini')
- config_opts = self.__load_or_create(self._config_file)
self._niftynet_home = abspath(config_opts['home'])
- def __load_or_create(self, config_file):
+ def __load_or_create(config_file):
"""Load passed configuration file, if it exists; create a default
otherwise.
