Skip to content

Commit 9a85635

Browse files
committed
Update _samples.html.erb
1 parent 44cadf6 commit 9a85635

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/genomes/_samples.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
y = sanitize(i)
4747
%w[ENVO PCO UBERON OHMI].each do |ont|
4848
purl = "http://purl.obolibrary.org/obo/#{ont}_"
49-
o_url = osl4 + ERB::Util.u(purl)
49+
lnk = osl4 + ERB::Util.u(purl)
5050
y = y.gsub(
5151
/(^\s*|[^A-Z\d])#{ont}[:_](\d{7,8})(\s*$|[^A-Z\d])/i,
52-
"\\1<a href='#{o_url}\\2' target=_blank>ENVO:\\2</a>\\3"
52+
"\\1<a href='#{lnk}\\2' target=_blank>#{ont}:\\2</a>\\3"
5353
)
5454
end
5555
y

0 commit comments

Comments
 (0)