Skip missing JSON files

#6
by albertvillanova HF staff - opened

While getting the data file from the authors' repo, we noticed some JSON files aren't present because a partial corruption of the corresponding commit. See: https://github.com/wenhuchen/WikiTables-WithLinks/tree/f4ed68e54e25c495f63d309de0b89c0f97b3c508/tables_tok

Failed to load latest commit information.

While inflating the repo ZIP archive, we got errors for some JSON files: for example, with filenames containing a colon : or a quation mark ", or *

error:  cannot create WikiTables-WithLinks-master/tables_tok/Ebertfest:_Roger_Ebert's_Film_Festival_3.json
        Invalid argument

error:  cannot create WikiTables-WithLinks-master/tables_tok/M*A*S*H_(TV_series)_0.json
        Invalid argument

error:  cannot create WikiTables-WithLinks-master/tables_tok/Michael_"Ffish"_Hemschoot_0.json
        Invalid argument

This PR skips missing JSON files.

Fix #5.

albertvillanova changed pull request status to open
albertvillanova changed pull request status to merged

Sign up or log in to comment