Skip to content

Commit

Permalink
Fix symmetry to use Z.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgt16-LANL committed Jan 23, 2024
1 parent aca6b39 commit fbe3171
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion architector/io_symmetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,10 @@ class containing the core geometry information.
raise ValueError('{} not in known ligTypes'.format(ligInput['ligType']))
ligobmol = io_obabel.get_obmol_smiles(ligInput['smiles']) # Get obmol for each lig
lig_charges.append(ligobmol.GetTotalCharge()) # Calculate total charge.
lig_num_atoms.append(ligobmol.NumAtoms()) # Get number of atoms (estimate steric contribution)
lig_zs=[]
for atom in io_obabel.ob.OBMolAtomIter(ligobmol):
lig_zs.append(atom.GetAtomicNum())
lig_num_atoms.append(np.sum(lig_zs)) # Get sum of z of atoms (estimate steric contribution)
selected_con_lists.append(possible_core_cons)

# Re-order so highest denticity ligand is always placed first.
Expand Down

0 comments on commit fbe3171

Please sign in to comment.