Skip to content

Commit

Permalink
single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbern committed Dec 6, 2020
1 parent 687ca3e commit e835c27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ann_benchmarks/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
import re
import traceback


def get_algorithm_name(name, batch_mode):
if batch_mode:
return name + "-batch"
return name + '-batch'
return name


def is_batch(name):
return "-batch" in name
return '-batch' in name


def get_result_filename(dataset=None, count=None, definition=None,
Expand Down

0 comments on commit e835c27

Please sign in to comment.