Skip to content

Added more attributes to dataset model#41

Merged
einfachMel merged 19 commits intomainfrom
feature/improve-dataset
Dec 20, 2021
Merged

Added more attributes to dataset model#41
einfachMel merged 19 commits intomainfrom
feature/improve-dataset

Conversation

@V3lop5
Copy link
Copy Markdown
Collaborator

@V3lop5 V3lop5 commented Dec 13, 2021

Fixes #40

This PR ...

improves the dataset model and adds more attributes.

All changes are needed to model the FINE example correctly.


Checklist

Checklist for Contributors

  • Unit tests provided?
    Unit tests are needed for new features or to reproduce the bug solved by this PR.
  • Documentation updated?
  • Unit tests successful
  • Code smells (flake8) checked

Checklist for Reviewers

  • Read PR description
  • Check linked issue
  • Check CI/CD (build, automated tests, linting, preview build)
  • Check documentation changes
  • Add labels to PR

@V3lop5 V3lop5 added the enhancement New feature or request label Dec 13, 2021
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 13, 2021 10:54 Destroyed
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 13, 2021 13:56 Destroyed
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 13, 2021 15:46 Destroyed
@V3lop5 V3lop5 marked this pull request as draft December 13, 2021 20:43
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 13, 2021 20:55 Destroyed
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 13, 2021 22:06 Destroyed
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 13, 2021

Codecov Report

Merging #41 (064c67e) into main (8d20e83) will decrease coverage by 0.03%.
The diff coverage is 91.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   91.02%   90.98%   -0.04%     
==========================================
  Files          79       88       +9     
  Lines        1170     1365     +195     
==========================================
+ Hits         1065     1242     +177     
- Misses        105      123      +18     
Flag Coverage Δ
pytest 90.98% <91.50%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ensysmod/api/endpoints/energy_conversions.py 95.45% <ø> (ø)
ensysmod/crud/base_depends_component.py 85.71% <ø> (-0.65%) ⬇️
ensysmod/crud/base_depends_timeseries.py 100.00% <ø> (ø)
ensysmod/crud/energy_source.py 100.00% <ø> (ø)
ensysmod/api/endpoints/ts_capacity_fix.py 64.44% <64.44%> (ø)
ensysmod/crud/energy_transmission_distance.py 87.50% <87.50%> (ø)
ensysmod/crud/energy_conversion_factor.py 93.75% <93.75%> (ø)
ensysmod/api/api.py 100.00% <100.00%> (ø)
ensysmod/crud/__init__.py 100.00% <100.00%> (ø)
ensysmod/crud/energy_conversion.py 100.00% <100.00%> (ø)
... and 22 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d20e83...064c67e. Read the comment docs.

# Conflicts:
#	ensysmod/crud/energy_conversion.py
#	ensysmod/crud/energy_transmission.py
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 16, 2021 00:16 Destroyed
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 16, 2021 02:10 Destroyed
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 16, 2021 09:18 Destroyed
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 16, 2021 09:48 Destroyed
@V3lop5 V3lop5 marked this pull request as ready for review December 16, 2021 11:46
@V3lop5 V3lop5 requested a review from einfachMel December 16, 2021 13:07
einfachMel and others added 3 commits December 16, 2021 14:13
# Conflicts:
#	ensysmod/api/api.py
#	tests/utils/data_generator/__init__.py
#	tests/utils/data_generator/energy_conversions.py
#	tests/utils/data_generator/energy_transmissions.py
@github-actions

This comment has been minimized.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 20, 2021 09:30 Destroyed
@github-actions github-actions bot temporarily deployed to PR-41-Preview December 20, 2021 09:35 Destroyed
@github-actions
Copy link
Copy Markdown
Contributor

Unit Test Results

  1 files  ±0    1 suites  ±0   16s ⏱️ -1s
61 tests +2  61 ✔️ +2  0 💤 ±0  0 ±0 

Results for commit 064c67e. ± Comparison against base commit 8d20e83.

@github-actions github-actions bot temporarily deployed to PR-41-Preview December 20, 2021 09:40 Destroyed
@einfachMel einfachMel merged commit 92fae65 into main Dec 20, 2021
@einfachMel einfachMel deleted the feature/improve-dataset branch December 20, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve dataset model

3 participants