tech-srl / code2seq

Code for the model presented in the paper: "code2seq: Generating Sequences from Structured Representations of Code"
http://code2seq.org
MIT License
555 stars 164 forks source link

remove unnecessaryv variable #130

Open hy20191108 opened 2 months ago

hy20191108 commented 2 months ago

Hello. MAX_PATH_LENGTH is referenced from config.py in line 17 of interactive_predict.py. Therefore, MAX_PATH_LENGTH in line 5 don't need. Also, shouldn't MAX_PATH_WIDTH in line 5 be referenced in line 17? Please check this PR. Thank you.