 
 ;; generic metadata
 
-(defn convert-settings [^SequenceSettings settings]
+(defn convert-settings [^SequenceSettings settings ^PositionList position-list]
   (def seqSettings settings)
   (into (sorted-map)
         (-> settings


(defn -run
  ([this acq-settings cleanup? position-list autofocus-device]
    (let [settings (convert-settings acq-settings)]
      (run this settings cleanup? position-list autofocus-device)))
  ([this acq-settings cleanup?]
    (let [settings (convert-settings acq-settings)]
      (run this settings cleanup? (.getPositionList gui) (.. gui getAutofocusManager getDevice))))
  ([this acq-settings]
    (-run this acq-settings true)))


                                         ProcessorStack SequenceSettings
                                         MMAcquisition
                                         TaggedImageStorageRam]
           [org.micromanager.navigation PositionList]
           [org.micromanager.utils ReportingUtils]
           [mmcorej TaggedImage Configuration Metadata]
           (java.util.concurrent Executors TimeUnit)
