-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Hello,
I am learning this tutorial:
https://github.com/yoshida-lab/XenonPy/blob/master/samples/iQSPR.ipynb
When I run the following code, I got the error, but I cannot figure out.
Both 'ngram_pubchem_ikebata_reO15_O10.obj' and 'ngram_pubchem_ikebata_reO15_O11to20.obj' were downloaded according to the tutorial.
Ok to run
with open('ngram_pubchem_ikebata_reO15_O10.obj', 'rb') as f:
n_gram = pk.load(f)
Ok to run
with open('ngram_pubchem_ikebata_reO15_O11to20.obj', 'rb') as f:
n_gram2 = pk.load(f)
Error here
n_gram.merge_table(n_gram2)
###################
The error output
\envs\xenonpy\lib\site-packages\xenonpy\inverse\iqspr\modifier.py", line 96, in sample_order
return self._sample_order
AttributeError: 'NGram' object has no attribute '_sample_order'
###################
Can you help to solve this?
Thanks,
Ming