Commit ba113c3c authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-c/3163-broken-test-imgt' into 'dev'

Fix IMGT broken test

Closes #3163

See merge request !183
parents fafbda6e 8b4e51d3
Pipeline #22089 failed with stages
in 48 seconds
......@@ -25,11 +25,11 @@ function nth_ocurrence(str, needle, nth) {
*/
function tsvToArray(allText) {
var allTextLines = allText.split(/\r\n|\n/);
var headers = allTextLines[0].split(' ');
var headers = $.trim(allTextLines[0]).split(' ');
var lines = [];
for (var i = 1; i < allTextLines.length; i++) {
var data = allTextLines[i].split(' ');
var data = $.trim(allTextLines[i]).split(' ');
if (data.length == headers.length) {
var tarr = {};
for (var j = 0; j < headers.length; j++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment