All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
sbnd_fts_metadataextractor_wrapper.sbnd_extractor Class Reference
Inheritance diagram for sbnd_fts_metadataextractor_wrapper.sbnd_extractor:

Public Member Functions

def extract
 

Static Public Attributes

string name = "sbnd_extractor"
 

Detailed Description

Definition at line 9 of file sbnd_fts_metadataextractor_wrapper.py.

Member Function Documentation

def sbnd_fts_metadataextractor_wrapper.sbnd_extractor.extract (   self,
  filestate,
  args,
  kwargs 
)

Definition at line 14 of file sbnd_fts_metadataextractor_wrapper.py.

14 
15  def extract( self, filestate, *args, **kwargs):
16 
17  mddata = yield self._runCommand("/sbnd/app/users/sbndpro/soft/srcs/sbndutil/scripts/poms/sbndpoms_metadata_extractor.sh", filestate.getLocalFilePath())
18  md = json.loads(mddata)
19 
20  # fix any metadata fields here
21  # md['xxx'] = blah(md['yy']) or whatever
22 
23  defer.returnValue(md)

Member Data Documentation

string sbnd_fts_metadataextractor_wrapper.sbnd_extractor.name = "sbnd_extractor"
static

Definition at line 11 of file sbnd_fts_metadataextractor_wrapper.py.


The documentation for this class was generated from the following file: