mmore500 / curaitor

https://curaitor.readthedocs.io
GNU General Public License v3.0
1 stars 0 forks source link

Test if the number of output file is correct #15

Closed Nanta-Sp closed 1 week ago

Nanta-Sp commented 1 week ago

This will be used multiple time including

  1. the crop page function (check for pdf files)
  2. text mining (check for text files)
Nanta-Sp commented 1 week ago

Do we really need to do this? If there is some unreadable file, then the number of output files will not be the same as the number of input files. (isn't that the unreadable file will be skipped?)

stkhuu commented 1 week ago

Do we really need to do this? If there is some unreadable file, then the number of output files will not be the same as the number of input files. (isn't that the unreadable file will be skipped?)

Testing file validity is sufficient and has been implemented. There will be error thrown if any of them can't be read. I will close this issue.