comparison org/vision.org @ 316:2c7fbcbd5ebb

replaced clojure.contrib.shell-out with clojure.java.shell
author Robert McIntyre <rlm@mit.edu>
date Tue, 28 Feb 2012 13:44:46 -0600
parents 5d448182c807
children bb3f8a4af87f
comparison
equal deleted inserted replaced
315:a48a75e5876c 316:2c7fbcbd5ebb
625 ** Generate the Worm Video from Frames 625 ** Generate the Worm Video from Frames
626 #+name: magick2 626 #+name: magick2
627 #+begin_src clojure 627 #+begin_src clojure
628 (ns cortex.video.magick2 628 (ns cortex.video.magick2
629 (:import java.io.File) 629 (:import java.io.File)
630 (:use clojure.contrib.shell-out)) 630 (:use clojure.java.shell))
631 631
632 (defn images [path] 632 (defn images [path]
633 (sort (rest (file-seq (File. path))))) 633 (sort (rest (file-seq (File. path)))))
634 634
635 (def base "/home/r/proj/cortex/render/worm-vision/") 635 (def base "/home/r/proj/cortex/render/worm-vision/")