Skip to content

Commit

Permalink
Invalidate taxa on species rank containing " bacterium"
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Van der Jeugt authored and Felix Van der Jeugt committed Apr 21, 2021
1 parent 2231224 commit f9b23ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/unipept/taxons/TaxonList.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ private boolean validate(int taxon_id) {
(t.name.matches(".*\\d.*") && !t.name.contains("virus"))
|| t.name.endsWith(" sp.")
|| t.name.endsWith(" genomosp.")
|| t.name.contains(" bacterium")
)
)
|| t.name.contains("enrichment culture")
Expand Down

0 comments on commit f9b23ff

Please sign in to comment.