catmap
catmap copied to clipboard
examples can not run with python 3.6
I have run the example in Generating an Input File and I got this error.
Traceback (most recent call last):
File "D:/Jupyter-notebook/ASE/test.py", line 123, in
More information is needed to reproduce the error. Which version of CatMAP are you running? To find out, go to python command line and type:
>> from catmap import __version__
>> __version__
I have tried the latest version of CatMAP(0.3.0), anaconda2, anaconda3, none of them could run the examples in tutorials. when I ran the first example in Generating an Input File, I got this error:
Traceback (most recent call last):
File "D:/Jupyter-notebook/ASE/test.py", line 123, in
parser.parse()
File "D:\catmap\catmap\parsers\table_parser.py", line 60, in parse
self._baseparse()
File "D:\catmap\catmap\parsers\parser_base.py", line 41, in _baseparse
self.transition_state_names+self.site_names+tuple(self._gas_sites)):
TypeError: can only concatenate list (not "NoneType") to list
@Mabinogiysk, are you able to run the example files in your environment with the current CatMAP version?
@Angel-Jia I meet the same problem,have you solved it?
@Angel-Jia I compared the different examples in documentation tutorial and the tutorial in code-master , it seems like the difference bettween the tuple and the list
rxm.adsorbate_names = ('CO','C','O','H','CH','OH','CH2','CH3') rxm.transition_state_names = ('C-O','H-OH','H-C') rxm.gas_names = ('CO_g','H2_g','CH4_g','H2O_g') rxm.site_names = ('s',)