code2vec icon indicating copy to clipboard operation
code2vec copied to clipboard

Issue 106: ZeroDivisionError while preprocessing

Open gOATiful opened this issue 4 years ago • 0 comments

addresses #106.

TMP_DIR was not set correctly and caused files created in the wrong directory. The tmp dir path in ExtractFeaturesForDir should be "/tmp/feature_extractorXXXX" but was "". This lead to empty *.rar.txt files. Which finally causes the ZeroDivisionError.

gOATiful avatar Feb 05 '21 11:02 gOATiful