knocean / ontofetch

Tool for making local copies of ontologies
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Compress files on disk #3

Closed jamesaoverton closed 7 years ago

jamesaoverton commented 7 years ago

Since OWL XML files are verbose, we should compress them on disk. See spit-gzipped! and slurp-gzipped! in https://github.com/knocean/knode/blob/master/src/knode/upstream.clj

beckyjackson commented 7 years ago

Do we want to keep the full dir & the zipped dir, or delete the full dir when we're done compressing?

jamesaoverton commented 7 years ago

Good question. I'm not sure. What do you think?

beckyjackson commented 7 years ago

I think it would make sense to delete the full dir, otherwise why compress it at all? Especially if we wanted to run this over a list of IRIs to fetch.