diff --git a/.travis.yml b/.travis.yml index 71ea2f1b67e31dcda33e3fc7a9701c8cd999a98e..ca8af75c93934ea5ed7833d1e1893239e5d4e4f2 100755 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,14 @@ install: script: # - python setup.py test - - cd docs && rm source/convlab2.*.rst - - sphinx-apidoc -o ./source ../convlab2/ - - cd source && python gen_rst.py --project convlab2 && cd .. - - make html - - cd source - - python modify_py_modindex.py -d ../build/html/ - - cd .. - - mv ./build/html ./build/docs && rm -r ./build/doctrees && mv LICENSE.txt ./build && mv README.md ./build && cd .. +# - cd docs && rm source/convlab2.*.rst +# - sphinx-apidoc -o ./source ../convlab2/ +# - cd source && python gen_rst.py --project convlab2 && cd .. +# - make html +# - cd source +# - python modify_py_modindex.py -d ../build/html/ +# - cd .. +# - mv ./build/html ./build/docs && rm -r ./build/doctrees && mv LICENSE.txt ./build && mv README.md ./build && cd .. deploy: - provider: pages diff --git a/convlab2/util/multiwoz/dbquery.py b/convlab2/util/multiwoz/dbquery.py index a276b8a473af57cec3ec51ce5554efd23b01269b..4830878633fce933d2b4cad6c27fde50d905f822 100755 --- a/convlab2/util/multiwoz/dbquery.py +++ b/convlab2/util/multiwoz/dbquery.py @@ -54,7 +54,7 @@ class Database(object): elif ignore_open and key in ['destination', 'departure']: continue else: - if val.strip().lower() != record[key].strip().lower(): + if val.strip() != record[key].strip(): break except: continue