[Swift-commit] r4567 - SwiftApps/Montage/scripts

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Mon Jun 6 10:54:26 CDT 2011


Author: jonmon
Date: 2011-06-06 10:54:26 -0500 (Mon, 06 Jun 2011)
New Revision: 4567

Modified:
   SwiftApps/Montage/scripts/Swift_Montage_Apps.swift
   SwiftApps/Montage/scripts/Swift_Montage_Batch.swift
Log:
Modifications to the Montage wrappers
  o Fixed typo in mShrink app procedure
  o Switched to not explicitly mapping a file in some cases of the batch functions



Modified: SwiftApps/Montage/scripts/Swift_Montage_Apps.swift
===================================================================
--- SwiftApps/Montage/scripts/Swift_Montage_Apps.swift	2011-06-06 15:19:20 UTC (rev 4566)
+++ SwiftApps/Montage/scripts/Swift_Montage_Apps.swift	2011-06-06 15:54:26 UTC (rev 4567)
@@ -73,7 +73,7 @@
 
 app ( Image shrunk ) mShrink( Image original, int factor )
 {
-    mShrink @orginial @shrunk factor;
+    mShrink @original @shrunk factor;
 }
 
 /*----------------------------------------------------------------------------------*/

Modified: SwiftApps/Montage/scripts/Swift_Montage_Batch.swift
===================================================================
--- SwiftApps/Montage/scripts/Swift_Montage_Batch.swift	2011-06-06 15:19:20 UTC (rev 4566)
+++ SwiftApps/Montage/scripts/Swift_Montage_Batch.swift	2011-06-06 15:54:26 UTC (rev 4567)
@@ -1,7 +1,6 @@
 ( Image corr_imgs[] ) mBgBatch( Image bg_imgs[], Table img_tbl, Table corr_tbl )
 {
-    Table tmp <"back_tmp.tbl">;
-    tmp = Background_list( img_tbl, corr_tbl );
+    Table back_list = Background_list( img_tbl, corr_tbl );
 
     BackgroundStruct back_struct[] = readData2( tmp );
 
@@ -41,8 +40,7 @@
 {
     Status stats[] <structured_regexp_mapper; source = diff_imgs, match = ".*\\/(.*)", transform = "stat_dir/stat.\\1">;
 
-    Table status_tbl <"stats.tbl">;
-    status_tbl = create_status_table( diff_tbl );
+    Table status_tbl = create_status_table( diff_tbl );
 
     foreach img, i in stats
     {




More information about the Swift-commit mailing list