[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Tue Aug 23 18:47:17 UTC 2005


mwilkinson
Tue Aug 23 14:47:16 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv22826/MOBY

Modified Files:
	OntologyServer.pm 
Log Message:
failed to detect idential articleNames if the ISA relationshp was registered after the HASA

moby-live/Perl/MOBY OntologyServer.pm,1.77,1.78
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm	2005/08/23 18:22:28	1.77
+++ /home/repository/moby/moby-live/Perl/MOBY/OntologyServer.pm	2005/08/23 18:47:16	1.78
@@ -485,10 +485,8 @@
 			'' );
 	
 	# need to ensure that identical article names dont' end up at the same level
-	unless ($rel_lsid =~ /urn\:lsid\:biomoby\.org\:objectrelation\:isa/){
-		my $articleNameInvalid = &_testIdenticalArticleName(term => $subj_lsid, articleName => $args{articleName});
-		return (0, "Object will have conflicting articleName", '') if $articleNameInvalid;
-	}
+	my $articleNameInvalid = &_testIdenticalArticleName(term => $subj_lsid, articleName => $args{articleName});
+	return (0, "Object will have conflicting articleName", '') if $articleNameInvalid;
 
 	my $insertid = $adaptor->insert_object_term2term(relationship_type => $rel_lsid, 
 							 object1_type => $subj_lsid,




More information about the MOBY-guts mailing list