CMS 3D CMS Logo

Classes | Functions | Variables
dqm_interfaces Namespace Reference

Classes

class  DirFetcher
 
class  DirID
 
class  DirWalkerDB
 
class  DirWalkerFile
 
class  DirWalkerFile_thread_wrapper
 
class  DQM_DB_Communication
 
class  DQMcommunicator
 
class  DQMRootFile
 
class  Error
 
class  InvalidNumberOfArguments
 

Functions

def string2blacklist (black_list_str)
 

Variables

 argv
 

Function Documentation

def dqm_interfaces.string2blacklist (   black_list_str)

Definition at line 752 of file dqm_interfaces.py.

References createfilelist.int.

752 def string2blacklist(black_list_str):
753  black_list=[]
754  # replace the + with " ":
755  black_list_str=black_list_str.replace("__"," ")
756  if len(black_list_str)>0:
757  for ele in black_list_str.split(","):
758  dirname,level=ele.split("@")
759  level=int(level)
760  dirid=None
761  if "/" not in dirname:
762  dirid=DirID(dirname,level)
763  else:
764  mother,daughter=dirname.split("/")
765  dirid=DirID(daughter,level,mother)
766  if not dirid in black_list:
767  black_list.append(dirid)
768 
769  return black_list
770 
771 #-------------------------------------------------------------------------------
772 

Variable Documentation

dqm_interfaces.argv

Definition at line 25 of file dqm_interfaces.py.