@@ -4,6 +4,227 @@ Release notes
44
55.. current developments
66
7+ 3.4.0
8+ =====
9+
10+ **Added: **
11+
12+ * Added ``set_latt_parms `` method into ``Lattice `` class
13+ * Added ``set_new_latt_base_vec `` method into ``Lattice `` class
14+ * Added ``parse_lines `` method in ``p_auto.py ``
15+ * Added ``parse_lines `` method in ``p_cif.py ``
16+ * Added ``parse_lines `` method in ``p_discus.py ``
17+ * Added ``parse_lines `` method in ``p_pdb.py ``
18+ * Added ``parse_lines `` method in ``p_pdffit.py ``
19+ * Added ``parse_lines `` method in ``p_rawxyz.py ``
20+ * Added ``parse_lines `` method in ``p_xcfg.py ``
21+ * Added ``parse_lines `` method in ``p_xyz.py ``
22+ * Added ``parse_lines `` method in ``structureparser.py ``
23+ * Added ``_suppress_cif_parser_output `` method in ``p_cif.py ``
24+ * Add deprecation warning for ``diffpy.Structure `` import.
25+ * Added `diffpy.structure.Structure.add_new_atom ` in replace of `addNewAtom `
26+ * Added ``load_structure_file `` method in ``apps/anyeye.py ``
27+ * Added ``convert_structure_file `` method in ``apps/anyeye.py ``
28+ * Added ``watch_structure_file `` method in ``apps/anyeye.py ``
29+ * Added ``clean_up `` method in ``apps/anyeye.py ``
30+ * Added ``parse_formula `` method in ``apps/anyeye.py ``
31+ * Added ``signal_handler `` method in ``apps/anyeye.py ``
32+ * Added method ``load_structure `` in ``__init__.py ``
33+ * Added `diffpy.structure.Structure.assign_unique_labels ` in replace of `assignUniqueLabels `
34+ * Support for Python 3.14
35+ * Added ``place_in_lattice `` method to ``Structure ``
36+ * Added ``read_structure `` method to ``Structure ``
37+ * Added ``write_structure `` method to ``Structure ``
38+ * Added ``position_formula `` method in ``GeneratorSite `` class
39+ * Added ``u_formula `` method in ``GeneratorSite `` class
40+ * Added ``eq_index `` method in ``GeneratorSite `` class
41+ * Added ``prune_formula_dictionary `` method in ``symmetryutilities.py ``
42+ * Added ``_link_atom_attribute `` method in ``diffpy.structure.utils ``
43+ * Added ``msd_latt `` method in ``atom.py ``
44+ * Added ``msd_cart `` method in ``atom.py ``
45+ * Added ``_get_uij `` method in ``atom.py ``
46+ * Added ``_set_uij `` method in ``atom.py ``
47+ * Added ``parse_file `` method in ``structureparser.py ``
48+ * Added ``parse_lines `` method in ``p_cif.py ``
49+ * Added ``parse_lines `` method in ``p_auto.py ``
50+ * Added parser for vesta specific files and viewer for vesta
51+ * Added ``atom_bare_symbol `` method in ``utils.py ``
52+ * Added ``_get_ordered_formats `` method in ``p_auto.py ``
53+ * Added ``_wrap_parse_method `` method in ``p_auto.py ``
54+ * Added ``_tr_atom_site_u_iso_or_equiv `` method in ``p_cif.py ``
55+ * Added ``_tr_atom_site_b_iso_or_equiv `` method in ``p_cif.py ``
56+ * Added ``_tr_atom_site_aniso_u_11 `` method in ``p_cif.py ``
57+ * Added ``_tr_atom_site_aniso_u_22 `` method in ``p_cif.py ``
58+ * Added ``_tr_atom_site_aniso_u_33 `` method in ``p_cif.py ``
59+ * Added ``_tr_atom_site_aniso_u_12 `` method in ``p_cif.py ``
60+ * Added ``_tr_atom_site_aniso_u_13 `` method in ``p_cif.py ``
61+ * Added ``_tr_atom_site_aniso_u_23 `` method in ``p_cif.py ``
62+ * Added ``_tr_atom_site_aniso_b_11 `` method in ``p_cif.py ``
63+ * Added ``_tr_atom_site_aniso_b_22 `` method in ``p_cif.py ``
64+ * Added ``_tr_atom_site_aniso_b_33 `` method in ``p_cif.py ``
65+ * Added ``_tr_atom_site_aniso_b_12 `` method in ``p_cif.py ``
66+ * Added ``_tr_atom_site_aniso_b_13 `` method in ``p_cif.py ``
67+ * Added ``_tr_atom_site_aniso_b_23 `` method in ``p_cif.py ``
68+ * Added ``get_symop `` method in ``parsers/p_cif.py ``
69+ * Added ``get_space_group `` method in ``spacegroups.py ``
70+ * Added ``find_space_group `` method in ``spacegroups.py ``
71+ * Added ``is_space_group_identifier `` method in ``spacegroups.py ``
72+ * Added ``_hash_symop_list `` method in ``spacegroups.py ``
73+ * Added ``_build_sg_lookup_table `` method in ``spacegroups.py ``
74+ * Added ``_get_sg_hash_lookup_table `` method in ``spacegroups.py ``
75+ * Added ``read_structure `` method into ``PDFFitStructure `` class
76+ * Added ``cell_parms `` method into ``Lattice `` class
77+ * Added ``_find_constraints `` method in ``SymmetryConstraints `` class
78+ * Added ``pos_parm_symbols `` method in ``SymmetryConstraints `` class
79+ * Added ``pos_parm_values `` method in ``SymmetryConstraints `` class
80+ * Added ``u_parm_symbols `` method in ``SymmetryConstraints `` class
81+ * Added ``u_parm_values `` method in ``SymmetryConstraints `` class
82+ * Added ``u_formulas `` method in ``SymmetryConstraints `` class
83+ * Added `diffpy.structure.Structure.get_last_atom ` in replace of `getLastAtom `
84+ * Added ``get_parser `` method in ``p_auto.py ``
85+ * Added ``get_parser `` method in ``p_cif.py ``
86+ * Added ``get_parser `` method in ``p_discus.py ``
87+ * Added ``get_parser `` method in ``p_pdb.py ``
88+ * Added ``get_parser `` method in ``p_pdffit.py ``
89+ * Added ``get_parser `` method in ``p_rawxyz.py ``
90+ * Added ``get_parser `` method in ``p_xcfg.py ``
91+ * Added ``get_parser `` method in ``p_xyz.py ``
92+ * Added ``get_parser `` method in ``parsers/__init__.py ``
93+ * Added ``position_formulas `` method in ``SymmetryConstraints `` class
94+ * Added ``position_formulas_pruned `` method in ``SymmetryConstraints `` class
95+ * Added ``u_formulas_pruned `` method in ``SymmetryConstraints `` class
96+ * Added ``_parse_cif_data_source `` method in ``p_cif.py ``
97+ * Added ``_parse_cif_block `` method in ``p_cif.py ``
98+ * Added ``to_lines `` method in ``p_cif.py ``
99+ * Added ``to_lines `` method in ``p_pdb.py ``
100+ * Added ``to_lines `` method in ``p_rawxyz.py ``
101+ * Added ``to_lines `` method in ``p_xcfg.py ``
102+ * Added ``to_lines `` method in ``p_xyz.py ``
103+ * Added ``to_lines `` method in ``structureparser.py ``
104+ * Added ``_lines_iterator `` method in ``p_discus.py ``
105+ * Added ``to_lines `` method in ``p_discus.py ``
106+ * Added ``is_space_group_latt_parms `` method in ``symmetryutilities.py ``
107+ * Added ``is_constant_formula `` method in ``symmetryutilities.py ``
108+ * Added ``find_center `` method in ``expansion/shapeutils.py ``
109+ * Added ``make_sphere `` method in ``expansion/makeellipsoid.py ``
110+ * Added ``make_ellipsoid `` method in ``expansion/makeellipsoid.py ``
111+ * Added ``position_difference `` method in ``symmetryutilities.py ``
112+ * Added ``nearest_site_index `` method in ``symmetryutilities.py ``
113+ * Added ``_find_invariants `` method in ``symmetryutilities.py ``
114+ * Added ``equal_positions `` method in ``symmetryutilities.py ``
115+ * Added ``expand_position `` method in ``symmetryutilities.py ``
116+ * Added ``null_space `` method in ``symmetryutilities.py ``
117+ * Added ``input_formats `` method in ``parsers/__init__.py ``
118+ * Added ``output_formats `` method in ``parsers/__init__.py ``
119+ * Added ``title_lines `` method in ``p_pdb.py ``
120+ * Added ``cryst1_lines `` method in ``p_pdb.py ``
121+ * Added ``atom_lines `` method in ``p_pdb.py ``
122+ * Added ``convert_fp_num_to_signed_rational `` method in ``GeneratorSite `` class
123+ * Added ``_find_null_space `` method in ``GeneratorSite `` class
124+ * Added ``_find_pos_parameters `` method in ``GeneratorSite `` class
125+ * Added ``_find_u_space `` method in ``GeneratorSite `` class
126+ * Added ``_find_u_parameters `` method in ``GeneratorSite `` class
127+ * Added ``_find_eq_uij `` method in ``GeneratorSite `` class
128+
129+ **Changed: **
130+
131+ * Changed private method ``__emptySharedStructure `` to ``__empty_shared_structure ``
132+
133+ **Deprecated: **
134+
135+ * Deprecated ``setLatPar `` method in ``Lattice `` class for removal in version 4.0.0
136+ * Deprecated ``setLatBase `` method in ``Lattice `` class for removal in version 4.0.0
137+ * Deprecated ``parseLines `` method in ``p_auto.py `` for removal in version 4.0.0
138+ * Deprecated ``parseLines `` method in ``p_cif.py `` for removal in version 4.0.0
139+ * Deprecated ``parseLines `` method in ``p_discus.py `` for removal in version 4.0.0
140+ * Deprecated ``parseLines `` method in ``p_pdb.py `` for removal in version 4.0.0
141+ * Deprecated ``parseLines `` method in ``p_pdffit.py `` for removal in version 4.0.0
142+ * Deprecated ``parseLines `` method in ``p_rawxyz.py `` for removal in version 4.0.0
143+ * Deprecated ``parseLines `` method in ``p_xcfg.py `` for removal in version 4.0.0
144+ * Deprecated ``parseLines `` method in ``p_xyz.py `` for removal in version 4.0.0
145+ * Deprecated ``parseLines `` method in ``structureparser.py `` for removal in version 4.0.0
146+ * Deprecated `diffpy.structure.Structure.addNewAtom ` method for removal in version 4.0.0
147+ * Deprecated ``loadStructureFile `` method in ``apps/anyeye.py `` for removal in version 4.0.0
148+ * Deprecated ``convertStructureFile `` method in ``apps/anyeye.py `` for removal in version 4.0.0
149+ * Deprecated ``watchStructureFile `` method in ``apps/anyeye.py `` for removal in version 4.0.0
150+ * Deprecated ``cleanUp `` method in ``apps/anyeye.py `` for removal in version 4.0.0
151+ * Deprecated ``parseFormula `` method in ``apps/anyeye.py `` for removal in version 4.0.0
152+ * Deprecated ``signalHandler `` method in ``apps/anyeye.py `` for removal in version 4.0.0
153+ * Deprecated method ``loadStructure `` in ``__init__.py `` for removal in version 4.0.0
154+ * Deprecated `diffpy.structure.Structure.assignUniqueLabels ` for removal in 4.0.0
155+ * Deprecated ``placeInLattice `` method of ``Structure `` for removal in version 4.0.0
156+ * Deprecated ``readStr `` method of ``Structure `` for removal in version 4.0.0
157+ * Deprecated ``writeStr `` method of ``Structure `` for removal in version 4.0.0
158+ * Deprecated ``positionFormula `` method in ``GeneratorSite `` class for removal in version 4.0.0
159+ * Deprecated ``UFormula `` method in ``GeneratorSite `` class for removal in version 4.0.0
160+ * Deprecated ``eqIndex `` method in ``GeneratorSite `` class for removal in version 4.0.0
161+ * Deprecated ``pruneFormulaDictionary `` method in ``symmetryutilities.py `` for removal in version 4.0.0
162+ * Derecated ``_linkAtomAttribute `` method in ``diffpy.structure.utils `` for removal in version 4.0.0
163+ * Deprecated ``msdLat `` method in ``atom.py `` for removal in version 4.0.0
164+ * Deprecated ``msdCart `` method in ``atom.py `` for removal in version 4.0.0
165+ * Deprecated ``parse_file `` method in ``structureparser.py `` for removal in version 4.0.0
166+ * Deprecated ``parse_file `` method in ``p_cif.py `` for removal in version 4.0.0
167+ * Deprecated ``parse_file `` method in ``p_auto.py `` for removal in version 4.0.0
168+ * Deprecated ``atomBareSymbol `` method in ``utils.py `` for removal in version 4.0.0
169+ * Deprecated ``getSymOp `` method in ``parsers/p_cif.py `` for removal in version 4.0.0
170+ * Deprecated ``GetSpaceGroup `` method in ``spacegroups.py `` for removal in version 4.0.0
171+ * Deprecated ``IsSpaceGroupIdentifier `` method in ``spacegroups.py `` for removal in version 4.0.0
172+ * Deprecated ``FindSpaceGroup `` method in ``spacegroups.py `` for removal in version 4.0.0
173+ * Deprecated ``_hashSymOpList `` method in ``spacegroups.py `` for removal in version 4.0.0
174+ * Deprecated ``readStr `` method in ``PDFFitStructure `` class for removal in version 4.0.0
175+ * Deprecated ``abcABG `` method in ``Lattice `` class for removal in version 4.0.0
176+ * Deprecated ``posparSymbols `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
177+ * Deprecated ``posparValues `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
178+ * Deprecated ``UparSymbols `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
179+ * Deprecated ``UparValues `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
180+ * Deprecated ``UFormulas `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
181+ * Deprecated `diffpy.structure.Structure.getLastAtom ` for removal in version 4.0.0
182+ * Deprecated ``getParser `` method in ``p_auto.py `` for removal in version 4.0.0
183+ * Deprecated ``getParser `` method in ``p_cif.py `` for removal in version 4.0.0
184+ * Deprecated ``getParser `` method in ``p_discus.py `` for removal in version 4.0.0
185+ * Deprecated ``getParser `` method in ``p_pdb.py `` for removal in version 4.0.0
186+ * Deprecated ``getParser `` method in ``p_pdffit.py `` for removal in version 4.0.0
187+ * Deprecated ``getParser `` method in ``p_rawxyz.py `` for removal in version 4.0.0
188+ * Deprecated ``getParser `` method in ``p_xcfg.py `` for removal in version 4.0.0
189+ * Deprecated ``getParser `` method in ``p_xyz.py `` for removal in version 4.0.0
190+ * Deprecated ``getParser `` method in ``parsers/__init__.py `` for removal in version 4.0.0
191+ * Deprecated ``positionFormulas `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
192+ * Deprecated ``positionFormulasPruned `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
193+ * Deprecated ``UFormulasPruned `` method in ``SymmetryConstraints `` class for removal in version 4.0.0
194+ * Deprecated ``toLines `` method in ``p_cif.py `` for removal in version 4.0.0
195+ * Deprecated ``toLines `` method in ``p_pdb.py `` for removal in version 4.0.0
196+ * Deprecated ``toLines `` method in ``p_rawxyz.py `` for removal in version 4.0.0
197+ * Deprecated ``toLines `` method in ``p_xcfg.py `` for removal in version 4.0.0
198+ * Deprecated ``toLines `` method in ``p_xyz.py `` for removal in version 4.0.0
199+ * Deprecated ``toLines `` method in ``structureparser.py `` for removal in version 4.0.0
200+ * Deprecated ``toLines `` method in ``p_discus.py `` for removal in version 4.0.0
201+ * Deprecated ``isSpaceGroupLatPar `` method in ``symmetryutilities.py `` for removal in version 4.0.0
202+ * Deprecated ``isconstantFormula `` method in ``symmetryutilities.py `` for removal in version 4.0.0
203+ * Deprecated ``findCenter `` method in ``expansion/shapeutils.py `` for removal in version 4.0.0
204+ * Deprecated ``makeSphere `` method in ``expansion/makeellipsoid.py `` for removal in version 4.0.0
205+ * Deprecated ``makeEllipsoid `` method in ``expansion/makeellipsoid.py `` for removal in version 4.0.0
206+ * Deprecated ``positionDifference `` method in ``symmetryutilities.py `` for removal in version 4.0.0
207+ * Deprecated ``nearestSiteIndex `` method in ``symmetryutilities.py `` for removal in version 4.0.0
208+ * Deprecated ``equalPositions `` method in ``symmetryutilities.py `` for removal in version 4.0.0
209+ * Deprecated ``expandPosition `` method in ``symmetryutilities.py `` for removal in version 4.0.0
210+ * Deprecated ``nullSpace `` method in ``symmetryutilities.py `` for removal in version 4.0.0
211+ * Deprecated ``inputFormats `` method in ``parsers/__init__.py `` for removal in version 4.0.0
212+ * Deprecated ``outputFormats `` method in ``parsers/__init__.py `` for removal in version 4.0.0
213+ * Deprecated ``titleLines `` method in ``p_pdb.py `` for removal in version 4.0.0
214+ * Deprecated ``crystl1Lines `` method in ``p_pdb.py `` for removal in version 4.0.0
215+ * Deprecated ``atomLines `` method in ``p_pdb.py `` for removal in version 4.0.0
216+ * Deprecated ``signedRatStr `` method in in ``GeneratorSite `` class for removal in version 4.0.0
217+
218+ **Fixed: **
219+
220+ * Fixed ``load_structure `` with successfully loading `Path ` object
221+ * Fix deprecation for open file for Python 3.14
222+
223+ **Removed: **
224+
225+ * Support for Python 3.11
226+
227+
72283.3.1
8229=====
9230
0 commit comments