Skip to content

Commit

Permalink
Added example file
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahW91 committed Apr 11, 2023
1 parent 3f04417 commit 028389b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/taxa/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
<p>To specify a parent taxon you can either give the name of the next higher taxon or, if you know it, its ID in this database (as found in the URL).</p>
<p>If the specified parent cannot be found in the database, no parent will be added and the taxon will appear as an "orphaned" entry.</p>
<p>Please use this template: <%= link_to 'Taxon Import Template', "templates/Taxon+upload+template.xls" %></p>
<p>Please use this template: <%= link_to 'Example', "templates/example.txt" %></p>

<%= form_tag import_csv_taxa_url, multipart: true do %>
<p><%= file_field_tag :file, class: 'form-control' %></p>
Expand Down
2 changes: 2 additions & 0 deletions public/templates/example.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#SampleID BarcodeSequence LinkerPrimerSequence ReversePrimer Region Description
GBoL2691ITS TCAGACGATGCGTCAT GGAAGTAAAAGTCGTAACAAGG TCCTCCGCTTATTGATATGC ITS

0 comments on commit 028389b

Please sign in to comment.