-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathstructureerrors.py
More file actions
33 lines (24 loc) · 878 Bytes
/
structureerrors.py
File metadata and controls
33 lines (24 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python
##############################################################################
#
# diffpy.structure by DANSE Diffraction group
# Simon J. L. Billinge
# (c) 2006 trustees of the Michigan State University.
# All rights reserved.
#
# File coded by: Pavol Juhas
#
# See AUTHORS.txt for a list of people who contributed.
# See LICENSE_DANSE.txt for license information.
#
##############################################################################
"""Exceptions used in Structure package."""
class StructureFormatError(Exception):
"""Exception for failed IO from Structure file."""
pass
class LatticeError(Exception):
"""Exception for impossible lattice parameters."""
pass
class SymmetryError(Exception):
"""Exception raised for invalid symmetry operations."""
pass