Instrument2Sql

This module contains all functions and classes for reading a instrument file in CSS3.0 format and pushing it into the database

Functions and Classes

getResponseId(response_file_name)

Function for finding the correct response for the instrument

Parameters:response_file_name (String) – filename of the response
Returns:id of the response in the database, or None if no response found, warns also for the absence of the response.
insertInstrument2Database(instrument)

Function for inserting the instrument array to the database

Parameters:instrument (Instrument) – instrument that will be inserted to the database