Skip to content

Commit

Permalink
E305: Fix expected 2 blank lines after class or function definition, …
Browse files Browse the repository at this point in the history
…found 1
  • Loading branch information
rht committed Dec 21, 2017
1 parent 42a2c92 commit 87e47f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/analyze_all_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ def get_results(dset):
print('Minimum: {}'.format(minimum))
print('Standard deviaton: {}'.format(std))


for dset in DATASETS:
get_results(dset)
1 change: 1 addition & 0 deletions scripts/convert_all_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def convert_dataset(filepath, extend_with, vocab):

print(' done. Coverage: {}'.format(cover))


with open('../model/vocabulary.json', 'r') as f:
vocab = json.load(f)

Expand Down
1 change: 1 addition & 0 deletions scripts/download_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def prompt():
else:
print('Please respond with \'y\' or \'n\' (or \'yes\' or \'no\')')


download = True
if os.path.exists(weights_path):
print('Weight file already exists at {}. Would you like to redownload it anyway? [y/n]'.format(weights_path))
Expand Down

0 comments on commit 87e47f3

Please sign in to comment.