From 862dc7477e874a7df2cbfb67d69030de1b827b3c Mon Sep 17 00:00:00 2001 From: Antony Woods Date: Tue, 22 Dec 2015 12:13:02 +0000 Subject: [PATCH] Update models to snapshot --- project.clj | 2 +- src/witan/app/model_execution.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index a85487d..47a8d23 100644 --- a/project.clj +++ b/project.clj @@ -33,7 +33,7 @@ [com.amazonaws/aws-java-sdk "1.10.27"] [amazonica "0.3.35" :exclusions [com.amazonaws/aws-java-sdk]] [clojure-csv/clojure-csv "2.0.1"] - [witan.models "0.1.3"] + [witan.models "0.1.4-SNAPSHOT"] [clj-http "2.0.0"] [slugger "1.0.1"] [com.stuartsierra/component "0.3.0"] diff --git a/src/witan/app/model_execution.clj b/src/witan/app/model_execution.clj index a662952..3837d80 100644 --- a/src/witan/app/model_execution.clj +++ b/src/witan/app/model_execution.clj @@ -32,11 +32,11 @@ TODO: will need to get own config files") "Gets the content of an object NOTE ASSUMPTION: the input files are csv with \n or \r\n as eol characters" [key tag] - (log/info "Downloading " key "(tag" tag ")") + (log/info "Downloading" key "(tag" tag ")") (let [presigned-download-url (ws3/presigned-download-url key "tmp") slurped (slurp presigned-download-url) result (prepare-data slurped) - _ (log/info "Finished downloading" key)] + _ (log/info "Finished downloading" key "- rows:" (count result))] result)) (defn get-properties