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

Tests for archive coordinate arrays #13

Merged
merged 6 commits into from
Apr 4, 2024

Conversation

carienmol
Copy link
Collaborator

Currently, the only way in which coordinatearrays are archived in birdwatcher, is by using the batch_detect_movement function, which uses the 'privat' _archive function (previously _f, but I changed the name). In _archive 2 darr functions are used to (1) archive the coordinatearrays with its own folder name and (2) the original darr array is removed.

  • I've written a test for the _archive function to check these two functionalities (in case darr changes someday)
  • I've changed the test for open_archivedcoordinatedata, which uses the _archive function now
  • I've added a test for extract_archivedcoordinatedata

Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.94%. Comparing base (7ce96d0) to head (556762f).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #13      +/-   ##
===========================================
+ Coverage    78.12%   78.94%   +0.81%     
===========================================
  Files           11       11              
  Lines          855      855              
===========================================
+ Hits           668      675       +7     
+ Misses         187      180       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@carienmol carienmol merged commit 42f704a into gbeckers:develop Apr 4, 2024
8 checks passed
@carienmol carienmol deleted the archivecoords branch April 4, 2024 07:10
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.

None yet

1 participant