Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(import: checks) Improve check_altitudes and check_depths #445

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

VincentCauchois
Copy link
Member

@VincentCauchois VincentCauchois commented May 3, 2023


check_altitudes

Still perform check_altitudes when altitudes are generated : update fields in set_altitudes.

Still perform "INVALID_INTEGER" error checks for "altitude_min" when "altitude_max" not in fields, and for "altitude_max" when "altitude_min" not in fields.


check_depths

Still perform "INVALID_INTEGER" error checks for "depth_min" when "depth_max" not in fields, and for "depth_max" when "depth_min" not in fields.

@VincentCauchois VincentCauchois added the python Pull requests that update Python code label May 3, 2023
@VincentCauchois VincentCauchois requested a review from bouttier May 3, 2023 16:52
@VincentCauchois VincentCauchois self-assigned this May 3, 2023
@VincentCauchois VincentCauchois force-pushed the fix/import_check_altitudes branch 3 times, most recently from 1885bd4 to 0d3ce2f Compare May 4, 2023 09:41
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9e1c717) 90.64% compared to head (4b9837a) 90.64%.

❗ Current head 4b9837a differs from pull request most recent head de8cdf5. Consider uploading reports for the commit de8cdf5 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #445   +/-   ##
========================================
  Coverage    90.64%   90.64%           
========================================
  Files           18       18           
  Lines         1571     1571           
========================================
  Hits          1424     1424           
  Misses         147      147           
Flag Coverage Δ
pytest 90.64% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@VincentCauchois VincentCauchois force-pushed the fix/import_check_altitudes branch from 0d3ce2f to c89d90f Compare May 4, 2023 12:01
Signed-off-by: VincentCauchois <vincent.cauchois@mnhn.fr>
@VincentCauchois VincentCauchois force-pushed the fix/import_check_altitudes branch from c89d90f to 65d88ec Compare May 4, 2023 12:02
Signed-off-by: VincentCauchois <vincent.cauchois@mnhn.fr>
@VincentCauchois VincentCauchois force-pushed the fix/import_check_altitudes branch from 4b9837a to de8cdf5 Compare May 4, 2023 12:05
@VincentCauchois VincentCauchois changed the title [WIP] fix(import: checks) Improve check altitudes [WIP] fix(import: checks) Improve check_altitudes and check_depths May 4, 2023
@VincentCauchois VincentCauchois marked this pull request as ready for review May 4, 2023 12:34
@VincentCauchois VincentCauchois changed the title [WIP] fix(import: checks) Improve check_altitudes and check_depths fix(import: checks) Improve check_altitudes and check_depths May 4, 2023
@VincentCauchois VincentCauchois marked this pull request as draft May 4, 2023 15:42
@VincentCauchois VincentCauchois marked this pull request as ready for review May 4, 2023 15:46
@camillemonchicourt camillemonchicourt merged commit 5e88517 into develop Jun 22, 2023
@camillemonchicourt camillemonchicourt deleted the fix/import_check_altitudes branch June 22, 2023 14:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants