-
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.
Merge pull request #148 from phyloref/correct-empty-specimenwrapper
We previously ignored the occurrenceID if it was an empty string, and "constructed" an occurrenceID from the other components. This PR modifies that behavior so that an occurrenceID set to a blank string will be treated as an empty occurrenceID -- only a specimen missing an occurrenceID entirely will have one constructed based on the other components. It also adds a test for this functionality. It also replaces one use of `substr()` (now deprecated) with `substring()`, updates the OpenTree version in a test that would otherwise fail, and adds the `@shinnn/eslint-config` package, which is needed now for some reason. Closes #145.
- Loading branch information
Showing
4 changed files
with
235 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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