sbmlsim.combine.sedml.data
¶
Reading NUML, CSV and TSV data from DataDescriptions
Module Contents¶
Classes¶
Class for parsing DataDescriptions. |
Attributes¶
- class sbmlsim.combine.sedml.data.DataDescriptionParser[source]¶
Bases:
object
Class for parsing DataDescriptions.
- classmethod parse(cls, dd, workingDir=None)[source]¶
Parses single DataDescription.
Returns dictionary of data sources {DataSource.id, slice_data}
- Parameters
dd (libsedml.SedDataDescription) – SED-ML DataDescription
workingDir – workingDir relative to which the sources are resolved
- Returns
- Return type
Dict[str, pandas.Series]
- classmethod _determine_format(cls, source_path, format=None)[source]¶
- Parameters
source_path – path of file
format – format given in the DataDescription
- Returns
- classmethod _load_csv(cls, path)[source]¶
Read CSV data from file.
- Parameters
path – path of file
- Returns
returns pandas DataFrame with data