[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Sun Apr 18 00:33:56 UTC 2010
gordonp
Sat Apr 17 20:33:56 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv28114/src/main/ca/ucalgary/seahawk/gui
Modified Files:
MobyPayloadCreator.java
Log Message:
Cleaner logging
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyPayloadCreator.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyPayloadCreator.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyPayloadCreator.java 2010/04/16 17:33:25 1.3
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyPayloadCreator.java 2010/04/18 00:33:56 1.4
@@ -27,7 +27,7 @@
// The request key is the sample data's app context:
// url#xpath <tab> sample_xptr <tab> filter_regex <tab> filter_xpath <tab> xpath_desc <tab> case_sensitive_boolean <tab> inverse selection
// from which we will build the peer dataset to submit.
- System.err.println("Request key is " + requestKey);
+ logger.log(Level.FINER, "Request key is " + requestKey);
String[] requestKeyFields = requestKey.split("\t");
String[] requestParts = requestKeyFields[0].split("#", 2);
@@ -67,7 +67,7 @@
}
else if(filter.equals(srcPane.getFilter())){
// no need to redo the filtering, it's the current display's filtering
- System.err.println("Reusing current filter");
+ logger.log(Level.FINE, "Reusing current filter");
xptrsToFilter = srcPane.getFilteredData();
}
else{
@@ -89,7 +89,7 @@
MobyContentInstance payload = new MobyContentInstance();
Map<String,Integer> jobPrefixes = new LinkedHashMap<String,Integer>();
- System.err.println("Loading MobyContentInstance with "+peerElements.getLength()+" elements for xpath "+selectionXPath);
+ logger.log(Level.FINE, "Loading MobyContentInstance with "+peerElements.getLength()+" elements for xpath "+selectionXPath);
for(int i = 0; i < peerElements.getLength(); i++){
Element peerElement = (Element) peerElements.item(i);
// Try to make the job names trackable to the inputs:
@@ -106,7 +106,7 @@
jobPrefixes.put(jobKey, new Integer(suffixCount+1));
jobKey += "_"+(suffixCount+1);
}
- System.err.println("Adding job "+jobKey+" for "+peerElement.getLocalName());
+ logger.log(Level.FINE, "Adding job "+jobKey+" for "+peerElement.getLocalName());
MobyDataInstance mdi = null;
try{
mdi = MobyDataObject.createInstanceFromDOM(peerElement, SeahawkOptions.getRegistry());
More information about the MOBY-guts
mailing list