Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Taxon patch #20

Merged
merged 6 commits into from
Mar 11, 2019
Merged

Taxon patch #20

merged 6 commits into from
Mar 11, 2019

Conversation

MichielStock
Copy link
Contributor

@MichielStock MichielStock commented Mar 6, 2019

As requested in Issue #17, I wrote a function to query when the ID of the species is known.

Not 100% finished (e.g. no unit test at the moment).

Ping @tpoisot to take a look.

@tpoisot edit: will fix #17 when merged

@codecov
Copy link

codecov bot commented Mar 6, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@dc07397). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage          ?   57.22%           
=========================================
  Files             ?        9           
  Lines             ?      166           
  Branches          ?        0           
=========================================
  Hits              ?       95           
  Misses            ?       71           
  Partials          ?        0
Impacted Files Coverage Δ
src/taxon.jl 26% <0%> (ø)

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 dc07397...8613b3c. Read the comment docs.

@tpoisot tpoisot self-requested a review March 6, 2019 14:23
src/taxon.jl Outdated Show resolved Hide resolved
src/taxon.jl Outdated Show resolved Hide resolved
src/taxon.jl Outdated Show resolved Hide resolved
src/taxon.jl Outdated Show resolved Hide resolved
Copy link
Member

@tpoisot tpoisot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good, except for the one comment about allowing missing in one more place.

src/types/GBIFTaxon.jl Outdated Show resolved Hide resolved
@tpoisot
Copy link
Member

tpoisot commented Mar 8, 2019

It's also missing the tests!

@MichielStock
Copy link
Contributor Author

MichielStock commented Mar 9, 2019 via email

@mkborregaard
Copy link
Contributor

@tpoisot I can see you've approved the PR but tests are failing (at least on Travis, seems to be in filtering), and there's still the open comment on missing?
(as an aside - should we start using the testset functionality? The Travis report is not very informative about where the error is being thrown.

@MichielStock
Copy link
Contributor Author

@tpoisot I can see you've approved the PR but tests are failing (at least on Travis, seems to be in filtering), and there's still the open comment on missing?

I did not change anything in filtering, and there is a similar error in an other branch. This seems like an issue unrelated to my patch.

@mkborregaard
Copy link
Contributor

Great - what's your take on the missing thing? Did you solve this and I didn't notice or did you disagree?

@mkborregaard mkborregaard merged commit 6b1616e into PoisotLab:master Mar 11, 2019
@mkborregaard
Copy link
Contributor

Awesome work @MichielStock !

@tpoisot
Copy link
Member

tpoisot commented Mar 11, 2019

@tpoisot I can see you've approved the PR but tests are failing (at least on Travis, seems to be in filtering), and there's still the open comment on missing?

I did not change anything in filtering, and there is a similar error in an other branch. This seems like an issue unrelated to my patch.

I will have to see what is happening. I probably have written tests that can fail/pass depending on the state of the most recent data, so I'll need to write something that I know for sure will behave.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The taxon function has no method to pass a taxon ID directly
3 participants