code2vec
code2vec copied to clipboard
Issue 106: ZeroDivisionError while preprocessing
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.