Skip to content

Commit

Permalink
Add missing end
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Oct 1, 2024
1 parent b53d649 commit 4c43636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/sample_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def investigations
return [] if studies.empty? && assays.empty?

(studies.map(&:investigation).compact << assays.map(&:investigation).compact).flatten.uniq
end

# Creates sample attributes from an ISA template.
# @param template [Template] The ISA template to create sample attributes from.
Expand All @@ -90,7 +91,6 @@ def create_sample_attributes_from_isa_template(template, linked_sample_type = ni
template_attribute_id: temp_attr.id
)
end

end

def level
Expand Down

0 comments on commit 4c43636

Please sign in to comment.