All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
python.extractor_dict Namespace Reference

Classes

class  MetaData
 
class  expMetaData
 

Functions

def main
 

Function Documentation

def python.extractor_dict.main ( )

Definition at line 228 of file larbatch/python/extractor_dict.py.

229 def main():
230  try:
231  expSpecificMetadata = expMetaData(os.environ['SAM_EXPERIMENT'], str(sys.argv[1]))
232  except TypeError:
233  print('You have not implemented a defineMetaData function by providing an experiment.')
234  print('No metadata keys will be saved')
235  raise
236  mdtext = json.dumps(expSpecificMetadata.getmetadata(), indent=2, sort_keys=True)
237  print(mdtext)
238  sys.exit(0)
239 
240 
do one_file $F done echo for F in find $TOP name CMakeLists txt print