mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-07 05:03:26 +08:00
Allow import of the sample with missing non mandatory fields [SCI-1819]
This commit is contained in:
parent
47784e09a8
commit
f202687291
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ class Team < ActiveRecord::Base
|
|||
end
|
||||
|
||||
row.each.with_index do |value, index|
|
||||
next unless value.present?
|
||||
if index == stype_index
|
||||
stype = SampleType.where(team: self)
|
||||
.where('name ILIKE ?', value.strip)
|
||||
|
|
Loading…
Reference in a new issue