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'))
def user_GetValues(self,variable): if variable=="currentdir": return CmdBase.directory_complete() else: try: return Main.userVariables[variable] except: return []
def user_GetValues(self, variable): if variable == "currentdir": return CmdBase.directory_complete() else: try: return Main.userVariables[variable] except: return []
def __init__(self,main): CmdBase.__init__(self,main,"open")
def __init__(self,main): CmdBase.__init__(self,main,"plot")
def __init__(self, main): self.logger = logging.getLogger('MA5') CmdBase.__init__(self, main, "plot")
def __init__(self,main): CmdBase.__init__(self,main,"install") self.logger = logging.getLogger('MA5')
def __init__(self,main): CmdBase.__init__(self,main,"swap")
def __init__(self, main): CmdBase.__init__(self, main, "open")
def __init__(self, main, cut_type): self.cut_type = cut_type CmdBase.__init__(self,main,\ CutType.convert2cmdname(self.cut_type))
def __init__(self, main): CmdBase.__init__(self, main, "reset")
def __init__(self,main): CmdBase.__init__(self,main,"install")
def __init__(self, main): CmdBase.__init__(self, main, "install")
def __init__(self,main,cut_type): self.cut_type=cut_type CmdBase.__init__(self,main,\ CutType.convert2cmdname(self.cut_type))
def __init__(self,main): CmdBase.__init__(self,main,"preview")
def __init__(self,main): CmdBase.__init__(self,main,"reset")