-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
When you create a new AutoTST species, it gets the geometry from RDKit's Embed functionality without using a random seed, so you get a different result each time.
Here are 3 different versions of butane AutoTST gives you if create the species 3 times.
import ase
import ase.visualize
import autotst.species
my_ase_atoms = []
for i in range(3):
my_species = autotst.species.Species(smiles=['CCCC'])
my_ase_atoms.append(my_species.conformers['CCCC'][0].get_ase_mol())
ase.visualize.view(my_ase_atoms[0] + my_ase_atoms[1] + my_ase_atoms[2], viewer='x3d')
This is a problem if you have a workflow that has to rebuild AutoTST objects every time it restarts. We should set the random seed.
Metadata
Metadata
Assignees
Labels
No labels
