Example #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'))
Example #2
0
 def user_GetValues(self,variable):
     if variable=="currentdir":
         return CmdBase.directory_complete()
     else:
         try:
             return Main.userVariables[variable]
         except:
             return []
Example #3
0
 def user_GetValues(self, variable):
     if variable == "currentdir":
         return CmdBase.directory_complete()
     else:
         try:
             return Main.userVariables[variable]
         except:
             return []
Example #4
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"open")
Example #5
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"plot")
Example #6
0
 def __init__(self, main):
     self.logger = logging.getLogger('MA5')
     CmdBase.__init__(self, main, "plot")
Example #7
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"install")
     self.logger = logging.getLogger('MA5')
Example #8
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"swap")
Example #9
0
 def __init__(self, main):
     CmdBase.__init__(self, main, "open")
Example #10
0
 def __init__(self, main, cut_type):
     self.cut_type = cut_type
     CmdBase.__init__(self,main,\
                      CutType.convert2cmdname(self.cut_type))
Example #11
0
 def __init__(self, main):
     CmdBase.__init__(self, main, "reset")
Example #12
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"install")
Example #13
0
 def __init__(self, main):
     CmdBase.__init__(self, main, "install")
Example #14
0
 def __init__(self,main,cut_type):
     self.cut_type=cut_type
     CmdBase.__init__(self,main,\
                      CutType.convert2cmdname(self.cut_type))
Example #15
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"preview")
Example #16
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"swap")
Example #17
0
 def __init__(self,main):
     CmdBase.__init__(self,main,"reset")