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

editoast: electrical profile set use derive for retrive and create #4814

Merged
merged 3 commits into from
Aug 14, 2023

Conversation

Tristramg
Copy link
Contributor

No description provided.

@Tristramg Tristramg requested a review from a team as a code owner August 14, 2023 15:01
Copy link
Contributor

@leovalais leovalais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, a few suggestions:

editoast/src/views/electrical_profiles.rs Outdated Show resolved Hide resolved
editoast/src/views/electrical_profiles.rs Outdated Show resolved Hide resolved
editoast/src/views/train_schedule/mod.rs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #4814 (aa4300f) into dev (3edb72c) will decrease coverage by 0.01%.
Report is 1 commits behind head on dev.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##                dev    #4814      +/-   ##
============================================
- Coverage     19.88%   19.87%   -0.01%     
  Complexity     2245     2245              
============================================
  Files           877      877              
  Lines         90273    90258      -15     
  Branches       2304     2304              
============================================
- Hits          17954    17942      -12     
+ Misses        71036    71033       -3     
  Partials       1283     1283              
Flag Coverage Δ
editoast 64.50% <57.14%> (-0.06%) ⬇️

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

Files Changed Coverage Δ
editoast/src/main.rs 34.14% <ø> (ø)
editoast/src/views/train_schedule/mod.rs 13.59% <0.00%> (ø)
editoast/src/views/electrical_profiles.rs 75.00% <80.00%> (-2.50%) ⬇️

... and 3 files with indirect coverage changes

This test no longer makes sens, as it tested a custom
implementation of retrieve that had a specific management
when there was no error
@Tristramg Tristramg force-pushed the electrical_profile_set_derive branch from 5c9c1a2 to aa4300f Compare August 14, 2023 15:36
@Tristramg
Copy link
Contributor Author

All the suggestions have been applied, thank you!

@Tristramg Tristramg added this pull request to the merge queue Aug 14, 2023
Merged via the queue into dev with commit c205932 Aug 14, 2023
@Tristramg Tristramg deleted the electrical_profile_set_derive branch August 14, 2023 17:05
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