[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Wed Jul 27 17:36:02 UTC 2005


mwilkinson
Wed Jul 27 13:36:02 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv30187/MOBY

Modified Files:
	OntologyServer.pm 
Log Message:
redundant deletion of namespace term relations

moby-live/Perl/MOBY OntologyServer.pm,1.61,1.62
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm	2005/07/27 15:15:57	1.61
+++ /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm	2005/07/27 17:36:02	1.62
@@ -828,15 +828,15 @@
 				 $lsid );
 	}
 
-	($err, $errstr) = $adaptor->delete_namespace_term2term(namespace1_id => $lsid);
-
-	if ( $err ) {
-		return (
-			 0,
-			 "Delete from namespace term2term table failed: $errstr",
-			 $lsid
-		);
-	}
+	#($err, $errstr) = $adaptor->delete_namespace_term2term(namespace1_id => $lsid);
+	#
+	#if ( $err ) {
+	#	return (
+	#		 0,
+	#		 "Delete from namespace term2term table failed: $errstr",
+	#		 $lsid
+	#	);
+	#}
 	return ( 1, "Namespace Type $term Deleted", $lsid );
 }
 




More information about the MOBY-guts mailing list