- A string representation of
SpaceGroupwith key information.
- Bumped minimum
PyCifRWversion to4.4.3.
- Handling of paths on Windows when using the
P_cifparser.
- Function
FindSpaceGroupfor space group lookup from its list of symmetry operations.
- Reuse existing
SpaceGroupinstance when loading a CIF file. - Improve check of SpaceGroup identifiers in
GetSpaceGroup. - When loading CIF file, preset
Atom.anisotropyaccording to symmetry constraints at each site. Adhere to specific ADP type when specified in the CIF.
- Unused attribute
SpaceGroup.alt_name.
- Fix inconsistent (
Atom,Structure) pickle. PreserveAtomownership in aStructureafter pickling and unpickling. - Spuriously linked array-view values after
stru.xyz = 0. - Preserve scalar value type when setting
stru.occupancy = value. - Process unknown CIF occupancy "?" as an occupancy of 1.
- Incorrect
SymOplist for spacegroup "B11m" (number 1008).
Notable differences from version 1.3.5.
- Compatibility with Python 3.7, 3.6, 3.5 in addition to 2.7.
- Aliases for 17 non-standard space group names from cctbx.
- Support for intersphinx links to Python and NumPy documentation.
- Dependency and use of the
sixPY2/PY3 compatibility package. - Documentation hosting at readthedocs.org.
- Rename the package and all its module names to lowercase.
- Use UTF-8 encoding when writing structure files.
- Refactor parsing of XCFG format. Avoid use of generated code.
- Refactor all starred imports to explicit so they can be checked.
- Adopt napoleon style for docstrings.
- Update docstrings for
Atom,Lattice,SymOp,SpaceGroup. - Switch to platform-independent "noarch" Anaconda package.
- Old camel case module names such as
diffpy.Structure. - Variable
__gitsha__in theversionmodule which was renamed to__git_commit__.
- Unused exception
IsotropyError. - Unused class
BRAtomsStructureand associated parser.
- Loading of empty CIF files with no specified sites.
- Parsing of CIFs with
?value for unknown displacement parameters. - Symmetry constraint equations for ADPs so they avoid self-reference.
- Use
StructureFormatErrorexception for CIF with unknown space group. - Open files within the
withcontext so they get closed when done. - Invalid escape sequences in string values.