Issue 18366

Some infraspecific nub names contain "null" epithets

18366
Reporter: mdoering
Assignee: mdoering
Type: Bug
Summary: Some infraspecific nub names contain "null" epithets
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2016-04-04 16:58:54.43
Updated: 2016-04-11 12:44:14.976
Resolved: 2016-04-11 12:44:14.943
        
Description: Some names in the new backbone contain the string "null instead of a real infraspecific epithet. For example
Poa pratensis null: http://mdoering.github.io/nub-browser/app/#/taxon/7375039
Austrorhynchus pectatus null pectatus: http://mdoering.github.io/nub-browser/app/#/taxon/8278037]]>
    


Author: mdoering@gbif.org
Created: 2016-04-04 17:09:12.45
Updated: 2016-04-04 17:09:12.45
        
{noformat}
uat_checklistbank=> select count(*),status, rank from name_usage u join name n on name_fk=n.id where u.dataset_key='d7dddbf4-2cf0-4f39-9b2a-bb099caae36c' and infra_specific_epithet='null' group by rank, status;
 count |       status        |    rank
-------+---------------------+------------
     4 | ACCEPTED            | FORM
    14 | PROPARTE_SYNONYM    | FORM
    82 | SYNONYM             | VARIETY
   190 | PROPARTE_SYNONYM    | SPECIES
     1 | HETEROTYPIC_SYNONYM | SPECIES
    10 | SYNONYM             | SUBSPECIES
     1 | ACCEPTED            | VARIETY
     7 | ACCEPTED            | SUBSPECIES
   479 | SYNONYM             | SPECIES
    46 | SYNONYM             | FORM
    28 | PROPARTE_SYNONYM    | VARIETY

uat_checklistbank=> select count(*),status, rank from name_usage u join name n on name_fk=n.id where u.dataset_key='d7dddbf4-2cf0-4f39-9b2a-bb099caae36c' and specific_epithet='null' group by rank, status;
 count | status  |  rank
-------+---------+---------
     6 | SYNONYM | SPECIES

{noformat}
    


Author: mdoering@gbif.org
Created: 2016-04-04 17:15:30.466
Updated: 2016-04-04 17:15:30.466
        
These seem to all come from TAXREF which has this problem.
The name parser should be aware of bad null epithets
    


Author: mdoering@gbif.org
Created: 2016-04-04 17:18:20.903
Updated: 2016-04-04 17:18:20.903
        
... but also some from WoRMS: Austrorhynchus pectatus null pectatus
http://www.gbif.org/species/106251654
    


Author: mdoering@gbif.org
Created: 2016-04-11 12:44:14.973
Updated: 2016-04-11 12:44:14.973
        
fixed in name parser and also in nub builder with tests:
https://github.com/gbif/checklistbank/commit/65d98d1878df1a1276cbcc343cb2bbbfa008f881