Replies: 1 comment 1 reply
-
Hav you tried tweaking the Doc stringclass JmolNN(NearNeighbors):
"""
Determine near-neighbor sites and coordination number using an emulation
of Jmol's default autoBond() algorithm. This version of the algorithm
does not take into account any information regarding known charge
states.
"""
def __init__(
self, tol: float = 0.45, min_bond_distance: float = 0.4, el_radius_updates: dict[SpeciesLike, float] = None
):
"""
Args:
tol (float): tolerance parameter for bond determination
Defaults to 0.56.
min_bond_distance (float): minimum bond distance for consideration
Defaults to 0.4.
el_radius_updates: (dict) symbol->float to override default atomic
radii table values
""" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Structure.get_subgraphs_as_molecules() to have the molecule in one-molecular structure (So this function suppose to return only one molecule),but for some cif files I get some seperated molecules that are parts from the original molecules.
`
struct = CifParser(os.path.join("data", refcode + ".cif"),occupancy_tolerance=100).get_structures()[0]
sg = StructureGraph.with_local_env_strategy(struct, JmolNN())
`
One problematic cif file is attached:
crystal.txt
.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions