diff --git a/app/utilities/smart_annotation.rb b/app/utilities/smart_annotation.rb index dcd7414c8..c8c816122 100644 --- a/app/utilities/smart_annotation.rb +++ b/app/utilities/smart_annotation.rb @@ -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