Skip to content

Commit

Permalink
added asser for data
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed Nov 16, 2024
1 parent 0967fb5 commit aadf9ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ jobs:
run: clojure -T:build ci

- name: copy news data
run: curl http://qwone.com/~jason/20Newsgroups/20news-bydate.tar.gz | tar xz -C bigdata -f -

run: |
curl http://qwone.com/~jason/20Newsgroups/20news-bydate.tar.gz | tar xz -C bigdata -f -
ls bigdata
- name: render notebooks
run: clojure -T:build render-notebooks

Expand Down
2 changes: 2 additions & 0 deletions notebooks/tidytext.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
(filter #(.isFile %))
(map parse-f)))))


(assert (pos? (tc/row-count raw-text)) "raw-text is empty")
(def raw-text-cleaned
(->
raw-text
Expand Down

0 comments on commit aadf9ab

Please sign in to comment.