Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
c8a207baef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]);