UUDigitalHumanitieslab / AnnCor-scripts

A place for all the AnnCor scripts
MIT License
0 stars 0 forks source link

Do not delete zip files when listing all files #19

Closed gersonfoks closed 6 years ago

gersonfoks commented 7 years ago

The function list_all_files_with_extension deletes zip files that it encounters. It is better to expand to some temporary file or read directly from a stream.

From the feedback of Sheean: I'm not quite sure if it's ideal to change the input directory, by unzipping the zip-files and deleting them. Ideally they could be expanded to some temporary file or read directly from stream.