Skip to content

Commit

Permalink
include infraspecific name in cross importer organism list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiu9Shen committed Mar 20, 2020
1 parent d3daf50 commit 47eb12c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion includes/TripalImporter/GermplasmCrossImporter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@
$organisms = array();
$organisms[''] = '';
while ($organism = $org_rset->fetchObject()) {
$organisms[$organism->organism_id] = "$organism->genus $organism->species ($organism->common_name)";
if ($organism->infraspecific_name){
$organisms[$organism->organism_id] = "$organism->genus $organism->species $organism->infraspecific_name ($organism->common_name)";
}
else{
$organisms[$organism->organism_id] = "$organism->genus $organism->species ($organism->common_name)";
}
}

$form['instructions'] = [
Expand Down

0 comments on commit 47eb12c

Please sign in to comment.