-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added export to TSV, XLSX Added warnings for importing/exporting to CSV, TSV, XLSX that meta data (data type, shape) isn't supported Added support for multidimensional reports Added support for data types and shapes to HDF5 output
- Loading branch information
Showing
10 changed files
with
585 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,3 +66,5 @@ class ReportFormat(str, enum.Enum): | |
h5 = 'h5' | ||
hdf = 'h5' | ||
hdf5 = 'h5' | ||
tsv = 'tsv' | ||
xlsx = 'xlsx' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
""" Warnings for reports | ||
:Author: Jonathan Karr <karr@mssm.edu> | ||
:Date: 2021-01-21 | ||
:Copyright: 2021, Center for Reproducible Biomedical Modeling | ||
:License: MIT | ||
""" | ||
|
||
from ..warnings import BioSimulatorsWarning | ||
|
||
__all__ = [ | ||
'RepeatDataSetLabelsWarning', | ||
'MissingReportMetadataWarning', | ||
'MissingDataWarning', | ||
'ExtraDataWarning', | ||
] | ||
|
||
|
||
class RepeatDataSetLabelsWarning(BioSimulatorsWarning): | ||
""" Warning that multiple data sets with a report have the same label """ | ||
pass # pragma: no cover | ||
|
||
|
||
class MissingReportMetadataWarning(BioSimulatorsWarning): | ||
""" Warning that an exported file of a report will not or does contain comprehensive metadata about the report | ||
such as the data type and shape of each data set. | ||
""" | ||
pass # pragma: no cover | ||
|
||
|
||
class MissingDataWarning(BioSimulatorsWarning): | ||
""" Warning that a file does not contain data for one or more data sets of a report. """ | ||
pass # pragma: no cover | ||
|
||
|
||
class ExtraDataWarning(BioSimulatorsWarning): | ||
""" Warning that a file contains additional data that could not be mapped to a data set of a report. """ | ||
pass # pragma: no cover |
Oops, something went wrong.