[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Mon Aug 17 21:25:33 UTC 2009


gordonp
Mon Aug 17 17:25:33 EDT 2009
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv26021/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	MobySaveDialog.java 
Log Message:
Changes reflecting name-keeping in workflow saves
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobySaveDialog.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobySaveDialog.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobySaveDialog.java	2007/12/06 18:50:15	1.5
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobySaveDialog.java	2009/08/17 21:25:33	1.6
@@ -154,7 +154,8 @@
 		public void run() {
 		    try {
 			OutputStream ostream = new FileOutputStream(f);
-			String xml = tab.toScufl();
+                        String workflowName = f.getName().replaceFirst("\\.[^.]+$",""); //chop off .suffix
+			String xml = tab.toScufl(workflowName);
 			ostream.write(xml.getBytes());
 			ostream.flush();
 			ostream.close();




More information about the MOBY-guts mailing list