def __init__(self,value): """ Instantiates an pbs.holdtypes() value. """ _pbs_v1.validate_input("job", "Hold_Types", value) self.opval = "__init__" super(hold_types,self).__init__(value)
def __init__(self,value): val = value if isinstance(value, (str,)): val = value.replace("\\", "/") val = val.replace("/,", "\\,") _pbs_v1.validate_input("job", "stagein", val) super(staging_list,self).__init__(val)
def __init__(self,value): # for windows val = value if isinstance(value, (str,)): val = value.replace("\\", "/") _pbs_v1.validate_input("job", "Output_Path", val) super(path,self).__init__(val)
def __init__(self,value): _pbs_v1.validate_input("job", "exec_vnode", value) super(exec_vnode,self).__init__(value) self.chunks = list() vals = value.split("+") i = 0 for v in vals: self.chunks.append(vchunk(v.strip("(").strip(")")))
def __init__(self,value): if value in ("true","True","TRUE","t","T","y","1",1): v = 1 elif value in ("false","False","FALSE","f","F","n","0",0): v = 0 else: # should not end up here v = -1 # validates against the 'Rerunable' attribute entry of the # the server 'job' table _pbs_v1.validate_input("job", "Rerunable", str(v)) super(pbs_bool,self).__init__(v)
def __init__(self,value): # validates against the 'state_account' attribute entry of the # the server 'queue' table _pbs_v1.validate_input("queue", "route_destinations", value) super(route_destinations,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("queue", "node_group_key", value) super(node_group_key,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("resc", "software", value) super(software,self).__init__(value)
def __init__(self,value): # validates against the 'state_account' attribute entry of the # the server 'server' table _pbs_v1.validate_input("server", "state_count", value) super(state_count,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "Keep_Files", value) super(keep_files,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "group_list", value) super(group_list,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "array_indices_submitted", value) super(range,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "Mail_Users", value) super(pbs_list,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("resc", "place", value) super(place,self).__init__(value)
def __new__(cls,value): valstr = str(value) # validates against the 'walltime' attribute entry of the # the server 'resource' table _pbs_v1.validate_input("resc", "walltime", valstr) return int.__new__(cls, _pbs_v1.duration_to_secs(valstr))
def __init__(self,value): _pbs_v1.validate_input("server", "default_qsub_arguments", value) super(args,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("server", "pbs_version", value) super(version,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "Checkpoint", value) super(checkpoint,self).__init__(value)
def __init__(self,value): # empty string ("") also matched if value != "": _pbs_v1.validate_input("job", "ctime", str(long(value))) super(pbs_int,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "Job_Owner", value) super(pbs_str,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "Mail_Points", value) super(mail_points,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("float", "", str(value)) super(pbs_float,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("resv", "Authorized_Users", value) super(acl,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("resc", "select", value) super(select,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("server", "license_count", value) super(license_count,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "exec_host", value) super(exec_host,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "depend", value) super(depend,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "User_List", value) super(user_list,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "sandbox", value) super(sandbox,self).__init__(value)
def __init__(self,value): _pbs_v1.validate_input("job", "Join_Path", value) super(join_path,self).__init__(value)