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

Fix bug when splitting channel ids into separate codes when the network code is empty #6

Merged
merged 2 commits into from
May 5, 2022

Conversation

anowacki
Copy link
Owner

@anowacki anowacki commented May 5, 2022

  • Fix Codecov badge in README
  • channel_code_parts: Fix bug for empty network codes

anowacki added 2 commits May 4, 2022 22:31
The network code part of a miniSEED id can be empty, but
the logic in `channel_code_parts` did not allow for this causing
an error to be thrown erroneously.  Fix this so that all parts
of the id can be empty.
@codecov
Copy link

codecov bot commented May 5, 2022

Codecov Report

Merging #6 (3012fb4) into main (e5d4783) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
- Coverage   87.05%   87.00%   -0.05%     
==========================================
  Files           6        6              
  Lines         278      277       -1     
==========================================
- Hits          242      241       -1     
  Misses         36       36              
Impacted Files Coverage Δ
src/channel_codes.jl 100.00% <ø> (ø)

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 e5d4783...3012fb4. Read the comment docs.

@anowacki anowacki merged commit 9dd66c2 into main May 5, 2022
@anowacki anowacki deleted the fix-empty-net-code branch May 5, 2022 11:42
anowacki added a commit that referenced this pull request May 5, 2022
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.

1 participant