-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding SDS export format as FormatterV2 (#2218)
* adding xlsx support dependencies * base class for formatting xlsx documents * wip: xlsx assembly and tuning * updated docs and changed cell_stles to a list * migrated to list from dict to allow for duplication of keys * publishing progress * aded annotations * added yellow_dark and renamed colors * code description finished * extended to support input data ranges * added model for submission * added code/manifest xlsx template * there is only one directory manifest shared between all * refactored and split directory structure * all sheets classes start with Sheet * finished base dataset description * added comment * added default exports * moed xlsx and added cimis structure * restructured code added new entrypoint for xlsx creating a unique entrypoint for all * added default file save names * extended xlsx base document: - saving is done in base_path - also sheets are stored by name for later usage * adding pydatic validation * added utils and refactore * refactored to use new format for parsing and validating * added missing file * added dataset_description filling methods * remove unused * added code description section * None is converted to empty string * integrated dataset_description * removed unused * refactored to an object base format * added directory manifest generation * added section to be removed * added python-magic dependency * fixed due to unit testing * added some uit tests * let codeclimate know its plate * codeclimate still dose not like me * trying to fix codeclimate * renaming cimis to sds * fixed broken imports * exporter now support formatter_v2 which is the SDS format * updated templates * added required product_name * connecting TO data * duplicate uses fomratterV1 * enabled to test for v2 format * some cleanup * ignoring error * refactored granting access rights * added RRIDs to export format * insserted new column to inputs and outputs * added missing label * adding v2 project * reducting nesting * moved to private * removed nesting * fixing broken feature :\ * i really do not wat this file to be checked * trying to debug sys test * ytuing to fix issues with system testing * the last 4 outputs and inputs were missing * fixed testsd for previous bug * magic used for file description, extention comse from name * @Crespov refactored signatures * refactored RRID query * fixing relative imports and moving * changed to relative imports * added missing submodule * added missing requirements * refactored to use pydantic * refactored for simpler style * minor refactor * better readability * changed to tempfile * cahnged to tempfile * repalced text generation with faker * using ServiceVersion already defined * refactored timestamp and datetime * fixing pylint * fixed regex for service_version * fixed expected dateitime format * removed rev2 * added description overwrites * properly raise error instead of crashing without a reason * avoids issues with tsr * fixed relative imports * making easier to find out missing services * fixing pylint Co-authored-by: Andrei Neagu <[email protected]>
- Loading branch information
Showing
30 changed files
with
3,286 additions
and
89 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
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
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 |
---|---|---|
|
@@ -31,6 +31,8 @@ semantic_version | |
aiodebug | ||
json2html | ||
parfive | ||
openpyxl | ||
python-magic | ||
|
||
pydantic[email] | ||
orjson |
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
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
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
Oops, something went wrong.