Index: trunk/ippTasks/detrend.process.pro
===================================================================
--- trunk/ippTasks/detrend.process.pro	(revision 14693)
+++ trunk/ippTasks/detrend.process.pro	(revision 16173)
@@ -147,10 +147,6 @@
     book getword detPendingProcessedImfile $pageName reduction -var REDUCTION
 
-    # specify choice of remote host:
-    if ($parallel)
-      host anyhost
-    else
-      host local
-    end
+    # specify choice of local or remote host based on camera and chip (class_id)
+    set.host.for.camera $camera $class_id
 
     ## output log filename
@@ -276,10 +272,6 @@
     book getword detPendingProcessedExp $pageName dbname    -var DBNAME
 
-    # specify choice of remote host:
-    if ($parallel)
-      host anyhost
-    else
-      host local
-    end
+    # specify choice of local or remote host based on camera and chip (class_id)
+    set.host.for.camera $camera FPA
 
     # XXX push this into the filerules?
