Issue using expanduser instead of abspath when absolutising home dir entry read from config file
@@ -20,7 +20,7 @@ class NiftyNetGlobalConfig(object):
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'])
+ self._niftynet_home = expanduser(config_opts['home'])
def __load_or_create(self, config_file):
"""Load passed configuration file, if it exists; create a default
