mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
Remove sample type and group from smart annotation [SCI-897]
This commit is contained in:
parent
8a220c2351
commit
e45749d3b2
1 changed files with 1 additions and 7 deletions
|
@ -99,13 +99,7 @@ class SmartAnnotation
|
|||
)} #{I18n.t('by')} #{truncate(
|
||||
sanitize(sample_res.user.full_name,
|
||||
length: Constants::NAME_TRUNCATION_LENGTH)
|
||||
)} #{if sample_res.sample_type
|
||||
', ' + truncate(sanitize(sample_res.sample_type.name),
|
||||
length: Constants::NAME_TRUNCATION_LENGTH)
|
||||
end} #{if sample_res.sample_group
|
||||
', ' + truncate(sanitize(sample_res.sample_group.name),
|
||||
length: Constants::NAME_TRUNCATION_LENGTH)
|
||||
end}"
|
||||
)}"
|
||||
sam['type'] = 'sam'
|
||||
samples_list << sam
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue