Skip to content

Commit

Permalink
Re #6630. Moving to new python api.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 27, 2013
1 parent 38b0e67 commit edcdcbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Code/Mantid/Build/wiki_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,11 @@ def initialize_Mantid(mantidpath):
sys.path.append(os.getcwd())
sys.path.append( os.path.join( os.getcwd(), 'bin') )
try:
import MantidFramework
from MantidFramework import mtd
import mantid
except:
msg = "Error importing MantidFramework. Did you specify the --mantidpath option? "
msg += "Tried to initialize from '%s'" % str(mantidpath)
raise Exception(msg)
mtd.initialise()
mantid_initialized = True

#======================================================================
Expand Down

0 comments on commit edcdcbb

Please sign in to comment.