Skip to content

Commit a753272

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/views/genomes/_samples.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@
4141
# Key-based formatting
4242
case group
4343
when :environment
44-
osl4 = 'https://www.ebi.ac.uk/ols4/ontologies/envo/classes/'
44+
osl4_base = "https://www.ebi.ac.uk/ols4/ontologies"
4545
v.map! do |i|
4646
y = sanitize(i)
4747
%w[ENVO PCO UBERON OHMI].each do |ont|
48+
osl4 = "#{base}/#{ont.downcase}/classes/"
4849
purl = "http://purl.obolibrary.org/obo/#{ont}_"
4950
lnk = osl4 + ERB::Util.u(purl)
5051
y = y.gsub(

0 commit comments

Comments
 (0)