Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/scripts/plugins/pcr/lib/wip_product.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class WipPcrProductSequence extends Sequence {
endBasesDifferentToTemplate,
stickyEnds: this.get('desiredStickyEnds'),
name: this.get('name'),
shortName: this.get('shortName'),
};
return dataAndOptionsForPcr;
}
Expand Down
2 changes: 1 addition & 1 deletion public/scripts/plugins/pcr/views/pcr_form_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default Backbone.View.extend({
alert('Some RDP part details are incorrect or missing. Please correct them first.');
} else {
var data = this.getData();
var attributes = _.pick(data, 'name', 'sequence', 'features', 'sourceSequenceName', 'partType', 'desiredStickyEnds');
var attributes = _.pick(data, 'name', 'sequence', 'features', 'sourceSequenceName', 'partType', 'desiredStickyEnds', 'shortName');
attributes.frm = data.from;
attributes.size = data.to - data.from + 1;
var wipRdpSequence = new this.model.constructor(attributes);
Expand Down
1 change: 0 additions & 1 deletion public/scripts/plugins/pcr/views/pcr_product_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export default Backbone.View.extend({
attributes.senseStrand = {sequence: this.model.getSenseStrand()};
attributes.antisenseStrand = {sequence: this.model.getAntisenseStrand()};
}

return attributes;
},

Expand Down