Skip to content

Commit

Permalink
Merge branch 'experiment_template_make_over' of github.com:ELIXIR-Bel…
Browse files Browse the repository at this point in the history
…gium/seek into fairdom_test

Fix typo
  • Loading branch information
Kevin De Pelseneer committed Sep 28, 2023
2 parents 872ef47 + d3ff2f9 commit 920c791
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ def resolve_inconsistencies

def validate_template_attributes
errors.add(:base, '[Template attribute]: Some attributes are missing ISA tags') unless none_empty_isa_tag

unless test_tag_occurences.any?
if test_tag_occurences.any?
test_tag_occurences.map do |tag|
errors.add(:base,
"[Template attribute]: The <em>'#{tag}'</em> ISA tag is not allowed to be used more then once".html_safe)
Expand Down

0 comments on commit 920c791

Please sign in to comment.