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
TypeErrorTraceback (mostrecentcalllast)
/Users/janosh/dev/matbench-discovery/tmp/spglib_None_symmtries.pyinline69struct=Structure.from_file("2-12269.json")
12spg_analyzer=SpacegroupAnalyzer(struct, symprec=0.1, angle_tolerance=5)
---->13sym_struct=spg_analyzer.get_symmetrized_structure()
File~/dev/pmg/pymatgen/symmetry/analyzer.py:285, inSpacegroupAnalyzer.get_symmetrized_structure(self)
275"""Get a symmetrized structure. A symmetrized structure is one where the sites 276 have been grouped into symmetrically equivalent groups. 277 278 Returns: 279 :class:`pymatgen.symmetry.structure.SymmetrizedStructure` object. 280 """281ds=self.get_symmetry_dataset()
282sg=SpacegroupOperations(
283self.get_space_group_symbol(),
284self.get_space_group_number(),
-->285self.get_symmetry_operations(),
286 )
287returnSymmetrizedStructure(self._structure, sg, ds["equivalent_atoms"], ds["wyckoffs"])
File~/dev/pmg/pymatgen/symmetry/analyzer.py:240, inSpacegroupAnalyzer.get_symmetry_operations(self, cartesian)
233defget_symmetry_operations(self, cartesian=False):
234 """Return symmetry operations as a list of SymmOp objects. By default returns
...
--> 225 for t in d["translations"]:
226trans.append([float(Fraction.from_float(c).limit_denominator(1000)) forcint])
227trans=np.array(trans)
TypeError: 'NoneType'objectisnotsubscriptable
The text was updated successfully, but these errors were encountered:
Using pymatgen
master
@ dd884cf andspglib
v2.0.2:stack trace
The text was updated successfully, but these errors were encountered: