mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +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(
|
)} #{I18n.t('by')} #{truncate(
|
||||||
sanitize(sample_res.user.full_name,
|
sanitize(sample_res.user.full_name,
|
||||||
length: Constants::NAME_TRUNCATION_LENGTH)
|
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'
|
sam['type'] = 'sam'
|
||||||
samples_list << sam
|
samples_list << sam
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue