Skip to content

Commit

Permalink
Flag new directory keys to ConfigService so it turns them absolute
Browse files Browse the repository at this point in the history
Refs #970
  • Loading branch information
martyngigg committed Apr 18, 2013
1 parent 9a5e869 commit cd48231
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Code/Mantid/Framework/Kernel/src/ConfigService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ ConfigServiceImpl::ConfigServiceImpl() :
m_ConfigPaths.insert(std::make_pair("pythonscripts.directory", true));
m_ConfigPaths.insert(std::make_pair("pythonscripts.directories", true));
m_ConfigPaths.insert(std::make_pair("pythonalgorithms.directories", true));
m_ConfigPaths.insert(std::make_pair("python.plugins.directories", true));
m_ConfigPaths.insert(std::make_pair("user.python.plugins.directories", true));
m_ConfigPaths.insert(std::make_pair("datasearch.directories", true));
m_ConfigPaths.insert(std::make_pair("icatDownload.directory", true));
m_ConfigPaths.insert(std::make_pair("ManagedWorkspace.FilePath", true));
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/PythonAPI/MantidFramework.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ def load_modules(self, dir_list, refresh=False):
if path == '':
continue
if not os.path.isdir(path):
mtd.sendLogMessage(path + ' (specified in pythonalgorithms.directories property) is not a directory' )
mtd.sendLogMessage(path + ' is not a directory' )
continue
changes, plugins = self._importAlgorithms(path, refresh)
loaded_modules += plugins
Expand Down

0 comments on commit cd48231

Please sign in to comment.