Beispiel #1
0
 def __init__(self, gv):
     self.gv = gv
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.tei_file_path
     self.dom_temp_file = self.gv.tei_temp_file_path
     self.mod_name = 'TEI'
     Manipulate.__init__(self, gv)
Beispiel #2
0
 def __init__(self, gv):
     self.gv = gv
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.tei_file_path
     self.dom_temp_file = self.gv.tei_temp_file_path
     self.mod_name = 'TEI'
     Manipulate.__init__(self, gv)
 def __init__(self, gv):
     self.gv = gv
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.nlm_file_path
     self.dom_temp_file = self.gv.nlm_temp_file_path
     self.namespaces = {'jats':'http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd',
                       'xmlns:xlink':'http://www.w3.org/1999/xlink'}
     self.mod_name = 'NLM'
     Manipulate.__init__(self, gv)
Beispiel #4
0
 def __init__(self, gv):
     self.gv = gv
     self.metadata_items = {}
     self.metadata = []
     self.authors = []
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.input_metadata_file_path
     self.dom_temp_file = self.gv.input_metadata_file_path
     self.mod_name = 'Metadata'
     Manipulate.__init__(self, gv)
Beispiel #5
0
 def __init__(self, gv):
     self.gv = gv
     self.metadata_items = {}
     self.metadata = []
     self.authors = []
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.input_metadata_file_path
     self.dom_temp_file = self.gv.input_metadata_file_path
     self.mod_name = 'Metadata'
     Manipulate.__init__(self, gv)
Beispiel #6
0
 def __init__(self, gv):
     self.gv = gv
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.nlm_file_path
     self.dom_temp_file = self.gv.nlm_temp_file_path
     self.namespaces = {
         "jats": "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd",
         "xmlns:xlink": "http://www.w3.org/1999/xlink",
     }
     self.mod_name = "NLM"
     Manipulate.__init__(self, gv)
Beispiel #7
0
 def __init__(self, gv):
     self.gv = gv
     self.debug = self.gv.debug
     self.dom_to_load = self.gv.nlm_file_path
     self.dom_temp_file = self.gv.nlm_temp_file_path
     self.namespaces = {
         'jats':
         'http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd',
         'xmlns:xlink': 'http://www.w3.org/1999/xlink'
     }
     self.mod_name = 'NLM'
     Manipulate.__init__(self, gv)
Beispiel #8
0
    def __init__(self, data, cMeth, timestamp, timeext, fluidT, nDataCols,
                 datalength, fileN):
        self.cMeth = cMeth
        self.nCols = []
        Manipulate.__init__(self, data, timestamp, timeext, datalength, fileN)
        Hydraulics.__init__(self, fluidT, nDataCols)
        self.options = {
            'convertpumpdischarges': self.convertPumpDischarges,
            'convertsoliddischarges': self.convertSolidDischarges,
            'froude': self.froude,
            'ultrasondstodepth': self.ultrasondsToDepth,
            'ultrasondstometer': self.ultrasondsToMeter
        }

        self.result = np.array((1, 1))