Classes | Functions
python.extractor_dict Namespace Reference

Classes

class  expMetaData
 
class  MetaData
 

Functions

def main ()
 

Function Documentation

def python.extractor_dict.main ( void  )

Definition at line 228 of file extractor_dict.py.

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