Sfoglia il codice sorgente

Update tripal_chado/includes/TripalImporter/FASTAImporter.inc

I think so too! Forgot to come back to this after I raised the question. Thank you!

Co-Authored-By: bradfordcondon <bradford.condon@gmail.com>

Lacey-Anne Sanderson 6 anni fa
parent
commit
c8a207baef
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tripal_chado/includes/TripalImporter/FASTAImporter.inc

+ 1 - 1
tripal_chado/includes/TripalImporter/FASTAImporter.inc

@@ -535,7 +535,7 @@ class FASTAImporter extends TripalImporter {
         }
 
         // Get the relationship subject
-         $subject = $name ? $name : $uname;
+         $subject = $uname ? $uname : "";
         if (!empty($re_subject)) {
           preg_match("/$re_subject/", $line, $matches);
           $subject = trim($matches[1]);