Exemple #1
0
 def __init__(self,main,resubmit=False):
     self.resubmit=resubmit
     if not resubmit:
         CmdBase.__init__(self,main,"submit")
     else:
         CmdBase.__init__(self,main,"resubmit")
     self.forbiddenpaths=[]
     self.forbiddenpaths.append(os.path.normpath(self.main.ma5dir+'/lib'))
     self.forbiddenpaths.append(os.path.normpath(self.main.ma5dir+'/bin'))
     self.forbiddenpaths.append(os.path.normpath(self.main.ma5dir+'/madanalysis'))
Exemple #2
0
 def user_GetValues(self,variable):
     if variable=="currentdir":
         return CmdBase.directory_complete()
     else:
         try:
             return Main.userVariables[variable]
         except:
             return []
Exemple #3
0
 def user_GetValues(self, variable):
     if variable == "currentdir":
         return CmdBase.directory_complete()
     else:
         try:
             return Main.userVariables[variable]
         except:
             return []
Exemple #4
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"open")
Exemple #5
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"plot")
Exemple #6
0
 def __init__(self, main):
     self.logger = logging.getLogger('MA5')
     CmdBase.__init__(self, main, "plot")
Exemple #7
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"install")
     self.logger = logging.getLogger('MA5')
Exemple #8
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"swap")
 def __init__(self, main):
     CmdBase.__init__(self, main, "open")
Exemple #10
0
 def __init__(self, main, cut_type):
     self.cut_type = cut_type
     CmdBase.__init__(self,main,\
                      CutType.convert2cmdname(self.cut_type))
Exemple #11
0
 def __init__(self, main):
     CmdBase.__init__(self, main, "reset")
Exemple #12
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"install")
Exemple #13
0
 def __init__(self, main):
     CmdBase.__init__(self, main, "install")
Exemple #14
0
 def __init__(self,main,cut_type):
     self.cut_type=cut_type
     CmdBase.__init__(self,main,\
                      CutType.convert2cmdname(self.cut_type))
Exemple #15
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"preview")
Exemple #16
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"swap")
Exemple #17
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"reset")