-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return documented things in channel_code_parts and don't throw errors
Previously, `channel_code_parts`'s returned elements of a channel code as `nothing` if they were empty in a miniSEED code string, or if the format was not as expected. However, the docstring actually stated they would be 'empty', meaning empty strings. Update the behaviour to match that documented. At the same time, also stop erroring when encountering a channel code which for any reason does not fit the expected formats. This is much preferable because otherwise it is impossible to get the string out of LibMseed.
- Loading branch information
Showing
2 changed files
with
76 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters