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 749 of file dqm_interfaces.py.

References createfilelist.int.

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

Variable Documentation

dqm_interfaces.argv

Definition at line 22 of file dqm_interfaces.py.