Browse Source

removed newline from query def

E.Cannon 9 years ago
parent
commit
6c701fadb7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      includes/blast_ui.form_per_program.inc

+ 2 - 2
includes/blast_ui.form_per_program.inc

@@ -424,8 +424,8 @@ your sequence headers include pipes (i.e.: | ) they adhere to '
     $job_data = variable_get('job_data', '');
     $seq_rows = explode(PHP_EOL, $seq_content);
     foreach($seq_rows as $row) {
-      if(strpos($row, ">") !== FALSE) {
-        $query_def[] = ltrim($row, ">");
+      if (strpos($row, ">") !== FALSE) {
+       $query_def[] = trim($row, "> \t\n\r\0\x0B");
       }
     }