From afc2a9742309a9abf99d707871ca6ce212d10924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Mon, 16 Nov 2020 20:20:11 -0500 Subject: [PATCH] :tada: add (forthcoming) support for NCBI taxa --- src/EcologicalNetworks.jl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/EcologicalNetworks.jl b/src/EcologicalNetworks.jl index 9b4eee802..0dd8e4af3 100644 --- a/src/EcologicalNetworks.jl +++ b/src/EcologicalNetworks.jl @@ -39,14 +39,14 @@ export web_of_life, nz_stream_foodweb, pajek function __init__() @require Mangal="b8b640a6-63d9-51e6-b784-5033db27bef2" begin - function check_species_validity(::Mangal.MangalReferenceTaxon) - end - function check_species_validity(::Mangal.MangalNode) - end + check_species_validity(::Mangal.MangalReferenceTaxon) = nothing + check_species_validity(::Mangal.MangalNode) = nothing end @require GBIF="ee291a33-5a6c-5552-a3c8-0f29a1181037" begin - function check_species_validity(::GBIF.GBIFTaxon) - end + check_species_validity(::GBIF.GBIFTaxon) = nothing + end + @require NCBITaxonomy="f88b31d2-eb98-4433-b52d-2dd32bc6efce" begin + check_species_validity(::NCBITaxonomy.NCBITaxon) = nothing end end