Skip to content
Snippets Groups Projects
Commit 00231e55 authored by Janik Zikovsky's avatar Janik Zikovsky
Browse files

Refs #3994: modified some scripts to use git

parent 8ac51ea5
No related merge requests found
......@@ -21,7 +21,9 @@ def find_basedir(project, subproject):
"""
header_folder = "Mantid" + subproject
if project == "MantidQt": header_folder = "MantidQt" + subproject
basedir = os.path.join(os.path.curdir, project, subproject)
scriptdir = os.path.split(__file__)[0] #Folder of Code/Build
codedir = os.path.split(scriptdir)[0] #Folder of Code/
basedir = os.path.join(codedir, project, subproject)
return (basedir, header_folder)
......
......@@ -12,7 +12,7 @@ from cmakelists_utils import *
#======================================================================
def delete_one(oldfilename):
cmd = "svn remove " + oldfilename
cmd = "git rm " + oldfilename
print "Running:", cmd
os.system(cmd)
......
......@@ -15,7 +15,7 @@ def move_one(subproject, classname, newproject, newclassname, oldfilename, newfi
"""Move one file """
# Do an SVN move
cmd = "svn mv " + oldfilename + " " + newfilename
cmd = "git mv " + oldfilename + " " + newfilename
print "Running:", cmd
os.system(cmd)
......
......@@ -63,3 +63,7 @@ if True:
PeaksWorkspace=ws+'_peaks_predicted', OutputWorkspace=ws+'_peaks_predicted_integ')
BinToMDHistoWorkspace(InputWorkspace='TOPAZ_3131_HKL',AlignedDimX='H,-20,0,200',AlignedDimY='K,-5,15,200',AlignedDimZ='L,-5,15,200',OutputWorkspace='hkl')
BinToMDHistoWorkspace(InputWorkspace='TOPAZ_3131_HKL',AlignedDimX='H,-20,0,500',AlignedDimY='K,-5,15,500',AlignedDimZ='L,-5,15,100',OutputWorkspace='hkl_2')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment