Skip to content

Commit 4e8079e

Browse files
committed
ICN -> ICNafp
1 parent a2009c3 commit 4e8079e

5 files changed

Lines changed: 10 additions & 16 deletions

File tree

app/controllers/names_controller.rb

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,12 @@ def index(opts = {})
7070

7171
opts[:status] ||=
7272
case @status
73-
when 'public'
74-
Name.public_status
75-
when 'automated'
76-
0
77-
when 'SeqCode'
78-
15
79-
when 'ICNP'
80-
20
81-
when 'ICN'
82-
25
83-
when 'valid'
84-
Name.valid_status
73+
when 'public'; Name.public_status
74+
when 'automated'; 0
75+
when 'SeqCode'; 15
76+
when 'ICNP'; 20
77+
when 'ICN', 'ICNafp'; 25
78+
when 'valid'; Name.valid_status
8579
end
8680

8781
@names ||=

app/models/name/quality_checks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class QcWarning
425425
# - Rule 22 [Checklist-N]
426426
# TODO: An automated test could be included, but it would rely on the
427427
# preferred taxonomy and would require estimates of priority dates
428-
# for ICNP and ICN names. This would be very useful as the number
428+
# for ICNP and ICNafp names. This would be very useful as the number
429429
# of taxa grows larger. [see issue #90]
430430
later_taxon_as_type: {
431431
checklist: :nomenclature,

app/views/names/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
<br/>
3737
<b>Status</b>
38-
<% %w[public automated SeqCode ICNP ICN valid].map do |status| %>
38+
<% %w[public automated SeqCode ICNP ICNafp valid].map do |status| %>
3939
<span class="text-muted"></span>
4040
<%=
4141
status == @status ?

app/views/page/api.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ end
288288
<b>status <span class=text-muted>[<code>str</code>, opt]</span></b>:
289289
Filter names by status, one of <code>public</code>,
290290
<code>automated</code>, <code>SeqCode</code>, <code>ICNP</code>,
291-
<code>ICN</code>, or <code>valid</code>
291+
<code>ICNafp</code>, or <code>valid</code>
292292
</li>
293293
</ul>
294294
</dd>

documentation

0 commit comments

Comments
 (0)