[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Mon Jun 22 16:03:48 UTC 2009


kawas
Mon Jun 22 12:03:48 EDT 2009
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier
In directory dev.open-bio.org:/tmp/cvs-serv12115/src/main/org/biomoby/registry/rdfagent/verifier

Modified Files:
	MobyServiceComparator.java 
Log Message:
added a check for secondary parameters description field. 
moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier MobyServiceComparator.java,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/MobyServiceComparator.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/MobyServiceComparator.java	2006/09/05 19:04:08	1.6
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/MobyServiceComparator.java	2009/06/22 16:03:48	1.7
@@ -331,6 +331,16 @@
 									+ "'. Both had an articlename of '" + key + "'.");
 							isDifferent = true;
 						}
+						// compare descriptions
+						if (!secondary1.getDescription().equals(secondary2.getDescription())) {
+							addDifference("Service1 had a secondary input description of '"
+									+ secondary1.getDescription()
+									+ "' while service2 had a secondary input description of '"
+									+ secondary2.getDescription()
+									+ "'. Both had an articlename of '" + key + "'.");
+							isDifferent = true;
+						}
+						
 						// compare allowable values
 						Map allowable1 = getMapStrings(secondary1.getAllowedValues());
 						Map allowable2 = getMapStrings(secondary2.getAllowedValues());




More information about the MOBY-guts mailing list