-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make script usable for the current session of Mantid
In order to make the script usable as soon as it is downloade, it is not enough to update the pythonscripts.directories as the last commit did, but you have also to add to the python sys path at the current running session. Running python code is not possible inside the Framework/ScriptRepository level. So, a notification strategy was used in order to trigger a method of MantidUI, which can execute the python code that is necessary to add the new paths to the python sys. re #7097
- Loading branch information
1 parent
05e0aec
commit 6f53f2d
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters