 ;; generic metadata
 
 (defn convert-settings [^SequenceSettings settings]
-  (def seqSettings settings)
   (-> settings
     (data-object-to-map)
     (rekey

           get-msp MultiStagePosition-to-map ChannelSpec-to-map
           get-pixel-type get-current-time-str rekey
           data-object-to-map str-vector double-vector
           get-property-value edt]]
        [org.micromanager.sequence-generator :only [generate-acq-sequence
                                                    make-property-sequences]])
  (:require [clojure.set])

                       camera (core getCameraDevice)]
             (device-best-effort camera (core setExposure exposure)))
          #(when check-z-ref
             (set-stage-position z-drive (@state :reference-z)))
          #(when-let [wait-time-ms (:wait-time-ms event)]
             (acq-sleep wait-time-ms))
          #(when (:autofocus event)
             (run-autofocus))
          #(when check-z-ref
             (store-new-z-reference (get-msp current-position)))
          #(when z-drive
             (let [z (compute-z-position event)]
               (set-stage-position z-drive z)))
