Skip to content

Commit

Permalink
Re #6516 Get rid of API v1 code
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed May 7, 2013
1 parent e0335ed commit c994ea6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,6 @@ def to_script(self, file_name=None):
script = "# %s reduction script\n" % self.instrument_name
script += "# Script automatically generated on %s\n\n" % time.ctime(time.time())

script += "from MantidFramework import *\n"
script += "mtd.initialise(False)\n"
script += "from mantidsimple import *\n\n"
script += "\n"

for item in self._observers:
if item.state() is not None:
script += str(item.state())
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions Code/Mantid/scripts/Interface/templates/scripter_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ def to_script(self, file_name=None):
script = "# Reduction script\n"
script += "# Script automatically generated on %s\n\n" % time.ctime(time.time())

script += "from MantidFramework import *\n"
script += "mtd.initialise(False)\n"
script += "from mantidsimple import *"
script += "\n"

# The following code translates each panel/tab into python script
for item in self._observers:
if item.state() is not None:
Expand Down

0 comments on commit c994ea6

Please sign in to comment.