Home
last modified time | relevance | path

Searched refs:StructureError (Results 1 – 9 of 9) sorted by relevance

/dports/devel/py-mongokit/mongokit-0.9.1.1/tests/
H A Dtest_structure.py44 except StructureError:
58 except StructureError:
86 self.assertRaises(StructureError, mydoc.validate)
95 self.assertRaises(StructureError, mydoc.validate)
286 self.assertRaises(StructureError, fetched_doc.validate)
291 self.assertRaises(StructureError, fetched_doc.validate)
H A Dtest_types.py62 except StructureError, e:
70 except StructureError, e:
78 except StructureError, e:
95 except StructureError, e:
360 except StructureError, e:
401 except StructureError, e:
441 except StructureError, e:
H A Dtest_migration.py77 self.assertRaises(StructureError, bp.validate)
104 self.assertRaises(StructureError, bp.validate)
167 self.assertRaises(StructureError, bp.validate)
H A Dtest_descriptors.py111 self.assertRaises(StructureError, mydoc.validate )
H A Dtest_api.py712 self.assertRaises(StructureError, doc.validate)
/dports/devel/py-mongokit/mongokit-0.9.1.1/mongokit/
H A Dschema_document.py108 class StructureError(SchemaDocumentError): class
478 raise StructureError("%s: %s is not an authorized type" % (name, struct))
490 raise StructureError("%s: %s must be a basestring or a type" % (name, key))
519 raise StructureError(
528 … raise StructureError("%s: %s in %s is not an authorized type (%s found)" % (
533 … raise StructureError("%s: %s in %s is not an authorized type (%s found)" % (
543 raise StructureError("%s: %s is not an authorized_types" % (name, struct))
546 raise StructureError("%s.structure must not be None" % name)
548 raise StructureError("%s.structure must be a dict instance" % name)
597 self._raise_exception(StructureError, None,
[all …]
H A Ddocument.py35 StructureError)
239 except StructureError, e:
247 raise StructureError(str(error))
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/core/tests/
H A Dtest_structure.py24 StructureError,
51 StructureError,
91 StructureError,
1164 StructureError,
1309 StructureError,
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/core/
H A Dstructure.py692 raise StructureError(
719 … raise StructureError(("Structure contains sites that are ", "less than 0.01 Angstrom apart!"))
2580 raise StructureError(
2597 … raise StructureError(("Molecule contains sites that are ", "less than 0.01 Angstrom apart!"))
4205 class StructureError(Exception): class