Skip to content

Commit

Permalink
Merge pull request #1 from galaxyproteomics/large_peptide_IDs
Browse files Browse the repository at this point in the history
Store peptide IDs as strings.
  • Loading branch information
reid-wagner authored Oct 28, 2021
2 parents af23453 + 421330d commit 835057a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/modules/AjaxDataProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function AjaxDataProvider(confObj) { // eslint-disable-line no-unused-vars
var obj = {};
cv.forEach(function (d, idx) {
var escapedField = '"' + cNames[idx] + '"';
if (isNumber(d))
if (isNumber(d) && cNames[idx] != 'PEPTIDE_ID')
{
obj[escapedField] = Number.parseFloat(d);
} else {
Expand Down

0 comments on commit 835057a

Please sign in to comment.