This is solved. I am adding a blank field, which gets me my trailing comma.
On Tuesday, November 6, 2012 2:40:19 PM UTC-5, octopusgrabbus wrote:
>
> Is it possible to add an unquoted comma at the end of a Clojure sequence,
> while using clojure.data.csv's write-csv?
>
> (defn write-csv-file
> "
Is it possible to add an unquoted comma at the end of a Clojure sequence,
while using clojure.data.csv's write-csv?
(defn write-csv-file
"Writes a csv file using a key and an s-o-s"
[out-sos out-file]
(if (= dbg 1)
(println (first out-sos), "\n", out-file))
(spit out-file "" :append