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

◆ string2blacklist()

def dqm_interfaces.string2blacklist (   black_list_str)

Definition at line 754 of file dqm_interfaces.py.

References createfilelist.int.

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

Variable Documentation

◆ argv

dqm_interfaces.argv

Definition at line 28 of file dqm_interfaces.py.