You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/super/git/summer-camp/web/pyodide/data/generate.py", line 9, in<module>
samples = sampler.get_samples(n_samples=5, seed=37)
File "/opt/anaconda3/lib/python3.9/site-packages/pybbn/sampling/sampling.py", line 138, in get_samples
val = table.get_value(p, sample=sample)
File "/opt/anaconda3/lib/python3.9/site-packages/pybbn/sampling/sampling.py", line 65, in get_value
k = ','.join([f'{i}={sample[i]}'foriin self.parent_ids])
File "/opt/anaconda3/lib/python3.9/site-packages/pybbn/sampling/sampling.py", line 65, in<listcomp>
k = ','.join([f'{i}={sample[i]}'foriin self.parent_ids])
KeyError: 2
The text was updated successfully, but these errors were encountered:
Will result in the following.
The text was updated successfully, but these errors were encountered: