Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract datamodel to json and excel #18

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

JosePizarro3
Copy link
Contributor

Added CLI features to extract the datamodel objects and print them to json in a subfolder bam_data_store/datamodel/artifacts/.

@JosePizarro3
Copy link
Contributor Author

I've merged the export-to-excel implementation as well

@JosePizarro3 JosePizarro3 force-pushed the 11-extract-datamodel-json branch from d1c65b4 to 415074d Compare December 18, 2024 10:16
@coveralls
Copy link

coveralls commented Dec 18, 2024

Pull Request Test Coverage Report for Build 12391007429

Details

  • 34 of 171 (19.88%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-34.3%) to 47.419%

Changes Missing Coverage Covered Lines Changed/Added Lines %
bam_data_store/datamodel/property_types.py 0 2 0.0%
bam_data_store/metadata/entities.py 5 7 71.43%
bam_data_store/metadata/definitions.py 6 10 60.0%
bam_data_store/datamodel/collection_types.py 0 7 0.0%
bam_data_store/utils/utils.py 23 34 67.65%
bam_data_store/cli/entities_to_json.py 0 35 0.0%
bam_data_store/cli/cli.py 0 36 0.0%
bam_data_store/cli/entities_to_excel.py 0 40 0.0%
Totals Coverage Status
Change from base Build 12390657740: -34.3%
Covered Lines: 147
Relevant Lines: 310

💛 - Coveralls

Added structlog

Added logger and storing messages in a list of dictionaries

Added utils functions
Added utils logger

Fixed settings.json
@JosePizarro3 JosePizarro3 force-pushed the 11-extract-datamodel-json branch from d16b209 to aefe66e Compare December 18, 2024 13:17
@coveralls
Copy link

coveralls commented Dec 18, 2024

Pull Request Test Coverage Report for Build 12413810492

Details

  • 148 of 184 (80.43%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+6.9%) to 88.545%

Changes Missing Coverage Covered Lines Changed/Added Lines %
bam_masterdata/cli/entities_to_excel.py 50 53 94.34%
bam_masterdata/cli/entities_to_json.py 31 36 86.11%
bam_masterdata/utils/utils.py 27 33 81.82%
bam_masterdata/cli/cli.py 14 36 38.89%
Totals Coverage Status
Change from base Build 12393152362: 6.9%
Covered Lines: 286
Relevant Lines: 323

💛 - Coveralls

@JosePizarro3 JosePizarro3 changed the title Extract datamodel to json Extract datamodel to json and excel Dec 18, 2024
@JosePizarro3 JosePizarro3 mentioned this pull request Dec 18, 2024
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants