     (.setParentGUI gui)
     (.setPositionList (.getPositionList gui))))))
 
-;(defn test-dialog [eng]
-;  (.show (AcqControlDlg. eng (Preferences/userNodeForPackage (.getClass gui)) gui)))
-
-;(defn run-test []
-;  (test-dialog (create-acq-eng)))
-
 (defn stop []
   (when-let [acq-thread (:acq-thread (.state last-acq))]
     (.stop acq-thread)))

  (:summary-metadata @(.state this)))

(defn -acquireSingle [this]
  (add-to-album))

(defn -pause [this]
  (log "pause requested!")

      "z-step_um" (get-z-step-um (:slices settings))
     })))

(defn run [this settings cleanup?]
  (def last-acq this)
    (reset! (.state this) {:stop false :pause false :finished false})
