yoshida-lab / XenonPy

XenonPy is a Python Software for Materials Informatics
http://xenonpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
133 stars 57 forks source link

bug in set_para for NGram #154

Closed stewu5 closed 4 years ago

stewu5 commented 4 years ago

sample_order can be int during init step because of some checks inserted, but set_para will skip those checks, causing an int to be saved directly in the variable. As a result, sample_order is not a tuple as expected. Need to rewrite set_para for NGram?