From: <sco...@us...> - 2011-09-20 19:34:29
|
Revision: 25199 http://gmod.svn.sourceforge.net/gmod/?rev=25199&view=rev Author: scottcain Date: 2011-09-20 19:34:21 +0000 (Tue, 20 Sep 2011) Log Message: ----------- fixing the auto adding of organisms to not fire when "none" is specified Modified Paths: -------------- schema/trunk/chado/lib/Bio/Chado/Builder.pm Modified: schema/trunk/chado/lib/Bio/Chado/Builder.pm =================================================================== --- schema/trunk/chado/lib/Bio/Chado/Builder.pm 2011-09-20 19:20:39 UTC (rev 25198) +++ schema/trunk/chado/lib/Bio/Chado/Builder.pm 2011-09-20 19:34:21 UTC (rev 25199) @@ -92,7 +92,7 @@ my $db_org = $conf->{'database'}{'db_organism'}; - if ($db_org and ($db_org ne 'none')) { + if ($db_org and $db_org ne 'none' and ref $db_org ne 'HASH') { my $result = `bin/gmod_add_organism.pl --name_only --common_name $db_org`; unless ($result) { print "Adding $db_org to the database...\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |