 ;; generic metadata
 
 (defn convert-settings [^SequenceSettings settings]
-  ;(println "SequenceSettings slices:" (.slices settings))
   (-> settings
     (data-object-to-map)
     (rekey

    (swap! (.state this) assoc
      :pause false
      :stop false
      :running true
      :finished false
      :last-wake-time (jvm-time-ms)
      :last-stage-positions (into {} [[default-z-drive z]


;; globals

(def ^:dynamic state (atom {:stop false}))

(def settings (atom nil))

