diffpy.structure 3.2.2rc0__py3-none-any.whl → 3.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diffpy/structure/apps/anyeye.py +1 -1
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/AUTHORS.rst +1 -0
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/LICENSE.rst +1 -1
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/LICENSE_DANSE.rst +2 -2
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/LICENSE_pymmlib.rst +1 -1
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/METADATA +18 -14
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/RECORD +10 -10
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/WHEEL +1 -1
- diffpy.structure-3.2.3.dist-info/entry_points.txt +2 -0
- diffpy/Structure.py +0 -35
- {diffpy.structure-3.2.2rc0.dist-info → diffpy.structure-3.2.3.dist-info}/top_level.txt +0 -0
diffpy/structure/apps/anyeye.py
CHANGED
|
@@ -265,7 +265,7 @@ def main():
|
|
|
265
265
|
spawnargs = (pd["viewer"], pd["viewer"], pd["tmpfile"], env)
|
|
266
266
|
# load strufile in atomeye
|
|
267
267
|
if pd["watch"]:
|
|
268
|
-
signal.signal(signal.
|
|
268
|
+
signal.signal(signal.SIGCHLD, signalHandler)
|
|
269
269
|
os.spawnlpe(os.P_NOWAIT, *spawnargs)
|
|
270
270
|
watchStructureFile(pd)
|
|
271
271
|
else:
|
|
@@ -15,7 +15,7 @@ Copyright (c) 2014, Australian Synchrotron Research Program Inc., ("ASRP")
|
|
|
15
15
|
|
|
16
16
|
Copyright (c) 2014-2019, Brookhaven Science Associates, Brookhaven National Laboratory
|
|
17
17
|
|
|
18
|
-
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
|
|
18
|
+
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
|
|
19
19
|
All rights reserved.
|
|
20
20
|
|
|
21
21
|
The "DiffPy-CMI" is distributed subject to the following license conditions:
|
|
@@ -9,13 +9,13 @@ Copyright 2006-2007, Board of Trustees of Michigan State University,
|
|
|
9
9
|
Copyright 2008-2012, The Trustees of Columbia University in the
|
|
10
10
|
City of New York. (Copyright holder indicated in each source file).
|
|
11
11
|
|
|
12
|
-
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
|
|
12
|
+
Copyright (c) 2024, The Trustees of Columbia University in the City of New York.
|
|
13
13
|
All rights reserved.
|
|
14
14
|
|
|
15
15
|
For more information please visit the project web-page:
|
|
16
16
|
|
|
17
17
|
http://www.diffpy.org/
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
or email Prof. Simon Billinge at sb2896@columbia.edu
|
|
20
20
|
|
|
21
21
|
Redistribution and use in source and binary forms, with or without
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diffpy.structure
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.3
|
|
4
4
|
Summary: Crystal structure container and parsers for structure formats.
|
|
5
5
|
Author-email: "Simon J.L. Billinge group" <simon.billinge@gmail.com>
|
|
6
6
|
Maintainer-email: "Simon J.L. Billinge group" <simon.billinge@gmail.com>
|
|
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
23
23
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
24
|
-
Requires-Python:
|
|
24
|
+
Requires-Python: <3.13,>=3.10
|
|
25
25
|
Description-Content-Type: text/x-rst
|
|
26
26
|
License-File: LICENSE.rst
|
|
27
27
|
License-File: LICENSE_DANSE.rst
|
|
@@ -47,8 +47,8 @@ Requires-Dist: pycifrw
|
|
|
47
47
|
.. |Black| image:: https://img.shields.io/badge/code_style-black-black
|
|
48
48
|
:target: https://github.com/psf/black
|
|
49
49
|
|
|
50
|
-
.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml/badge.svg
|
|
51
|
-
:target: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml
|
|
50
|
+
.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/matrix-and-codecov-on-merge-to-main.yml/badge.svg
|
|
51
|
+
:target: https://github.com/diffpy/diffpy.structure/actions/workflows/matrix-and-codecov-on-merge-to-main.yml
|
|
52
52
|
|
|
53
53
|
.. |Codecov| image:: https://codecov.io/gh/diffpy/diffpy.structure/branch/main/graph/badge.svg
|
|
54
54
|
:target: https://codecov.io/gh/diffpy/diffpy.structure
|
|
@@ -79,6 +79,7 @@ of symmetry constraints for atom positions and displacement parameters.
|
|
|
79
79
|
diffpy.structure includes definitions of all space groups in over 500
|
|
80
80
|
symmetry settings.
|
|
81
81
|
|
|
82
|
+
|
|
82
83
|
For more information about the diffpy.structure library, please consult our `online documentation <https://diffpy.github.io/diffpy.structure>`_.
|
|
83
84
|
|
|
84
85
|
Citation
|
|
@@ -109,20 +110,18 @@ To add "conda-forge" to the conda channels, run the following in a terminal. ::
|
|
|
109
110
|
We want to install our packages in a suitable conda environment.
|
|
110
111
|
The following creates and activates a new environment named ``diffpy.structure_env`` ::
|
|
111
112
|
|
|
112
|
-
conda create -n diffpy.structure_env
|
|
113
|
+
conda create -n diffpy.structure_env diffpy.structure
|
|
113
114
|
conda activate diffpy.structure_env
|
|
114
115
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
conda install diffpy.structure
|
|
116
|
+
To confirm that the installation was successful, type ::
|
|
118
117
|
|
|
119
|
-
|
|
120
|
-
`Python Package Index <https://pypi.python.org>`_.
|
|
121
|
-
To install using ``pip`` into your ``diffpy.structure_env`` environment, we will also have to install dependencies ::
|
|
118
|
+
python -c "import diffpy.structure; print(diffpy.structure.__version__)"
|
|
122
119
|
|
|
123
|
-
|
|
120
|
+
The output should print the latest version displayed on the badges above.
|
|
124
121
|
|
|
125
|
-
and
|
|
122
|
+
If the above does not work, you can use ``pip`` to download and install the latest release from
|
|
123
|
+
`Python Package Index <https://pypi.python.org>`_.
|
|
124
|
+
To install using ``pip`` into your ``diffpy.structure_env`` environment, type ::
|
|
126
125
|
|
|
127
126
|
pip install diffpy.structure
|
|
128
127
|
|
|
@@ -132,12 +131,17 @@ and run the following ::
|
|
|
132
131
|
|
|
133
132
|
pip install .
|
|
134
133
|
|
|
134
|
+
Getting Started
|
|
135
|
+
---------------
|
|
136
|
+
|
|
137
|
+
You may consult our `online documentation <https://diffpy.github.io/diffpy.structure>`_ for tutorials and API references.
|
|
138
|
+
|
|
135
139
|
Support and Contribute
|
|
136
140
|
----------------------
|
|
137
141
|
|
|
138
142
|
`Diffpy user group <https://groups.google.com/g/diffpy-users>`_ is the discussion forum for general questions and discussions about the use of diffpy.structure. Please join the diffpy.structure users community by joining the Google group. The diffpy.structure project welcomes your expertise and enthusiasm!
|
|
139
143
|
|
|
140
|
-
If you see a bug or want to request a feature, please `report it as an issue <https://github.com/diffpy/diffpy.structure/issues>`_ and/or `submit a fix as a PR <https://github.com/diffpy/diffpy.structure/pulls>`_. You can also post it to the `Diffpy user group <https://groups.google.com/g/diffpy-users>`_.
|
|
144
|
+
If you see a bug or want to request a feature, please `report it as an issue <https://github.com/diffpy/diffpy.structure/issues>`_ and/or `submit a fix as a PR <https://github.com/diffpy/diffpy.structure/pulls>`_. You can also post it to the `Diffpy user group <https://groups.google.com/g/diffpy-users>`_.
|
|
141
145
|
|
|
142
146
|
Feel free to fork the project and contribute. To install diffpy.structure
|
|
143
147
|
in a development mode, with its sources being directly used by Python
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
diffpy/Structure.py,sha256=qBWWvx2GV65SJqgS6qK933SDfZc1yUQCBtJpW_wFqj8,1005
|
|
2
1
|
diffpy/__init__.py,sha256=WntnKrzS4hxw7YDYxwU-2hCJYNSFBf3gvjbPOrci0dk,673
|
|
3
2
|
diffpy/structure/__init__.py,sha256=EPy-CMdt1GkwzPmFs6vBPFjxygb-xMCsrxZMEEnrODo,2600
|
|
4
3
|
diffpy/structure/_legacy_importer.py,sha256=IXoPovMWIEY7tQTp1prTjICudfiVsR_Blmae-zDcHKA,2574
|
|
@@ -15,7 +14,7 @@ diffpy/structure/symmetryutilities.py,sha256=jxR8Sxp7Fw8seSX_8y8GgrbfpVadj4_leXF
|
|
|
15
14
|
diffpy/structure/utils.py,sha256=IMgzeIPg0WOIVeACpg2YZX4wL0NZhu_tZRuGctSmLuM,3320
|
|
16
15
|
diffpy/structure/version.py,sha256=SZtloZcpk7K1AnEKzefhXcEjxiJI6uXue0_3kQz_fp8,845
|
|
17
16
|
diffpy/structure/apps/__init__.py,sha256=8_LEH7mLoHMV1JWCV8g6ROTQVUap2QbYIvF11s5_Fts,595
|
|
18
|
-
diffpy/structure/apps/anyeye.py,sha256=
|
|
17
|
+
diffpy/structure/apps/anyeye.py,sha256=eWghHY-4tZPo0d82OnntMk9b6L7bQrPOoTwC7PILJp4,8032
|
|
19
18
|
diffpy/structure/apps/transtru.py,sha256=VUfjEwefSsF-ca16Rq6rjtCw24-P-hybyLMS_6y2qZ4,3655
|
|
20
19
|
diffpy/structure/expansion/__init__.py,sha256=lgVDh9UxVR63lDl0trCBt042Rw3nNzPGnuWna45nTms,870
|
|
21
20
|
diffpy/structure/expansion/makeellipsoid.py,sha256=R8dhKtRW6KxdeectCI39PyRTLpNFUFvj6M5UWVvify8,3456
|
|
@@ -32,11 +31,12 @@ diffpy/structure/parsers/p_xcfg.py,sha256=QIaaq30FoRnZwYIlAsLUMVRWGPoQaivRwMPWqX
|
|
|
32
31
|
diffpy/structure/parsers/p_xyz.py,sha256=PDmkc_MyHRP5wqJsHxxa7W4bce60YHhkurUrmrhU8Ks,5017
|
|
33
32
|
diffpy/structure/parsers/parser_index_mod.py,sha256=QWwV0tPpbIlk2i-gwR6MlKkUF0H05lGzO0yBq5nPOxk,3045
|
|
34
33
|
diffpy/structure/parsers/structureparser.py,sha256=p6eXkziF0sBOR6p9tyfvs8O6D9oRqETrr_v54h3C5mg,2254
|
|
35
|
-
diffpy.structure-3.2.
|
|
36
|
-
diffpy.structure-3.2.
|
|
37
|
-
diffpy.structure-3.2.
|
|
38
|
-
diffpy.structure-3.2.
|
|
39
|
-
diffpy.structure-3.2.
|
|
40
|
-
diffpy.structure-3.2.
|
|
41
|
-
diffpy.structure-3.2.
|
|
42
|
-
diffpy.structure-3.2.
|
|
34
|
+
diffpy.structure-3.2.3.dist-info/AUTHORS.rst,sha256=PH7xKOE6eZ60_LSn4IugF1w-9O2TWHJBBBC6WuiBXIg,255
|
|
35
|
+
diffpy.structure-3.2.3.dist-info/LICENSE.rst,sha256=cewTuMX5-lzPdcCj6s5_YeJvPbc3ZyUHZJg5FB7nlIs,6006
|
|
36
|
+
diffpy.structure-3.2.3.dist-info/LICENSE_DANSE.rst,sha256=O0_g4iEt4vJzr3XfLnqISKgR6bBXXE1EWDGXZUMkgGM,2277
|
|
37
|
+
diffpy.structure-3.2.3.dist-info/LICENSE_pymmlib.rst,sha256=9RJGn2ZWB4NaWRh8AE8nefdlKDEENs0EBFBk3D2YAas,9591
|
|
38
|
+
diffpy.structure-3.2.3.dist-info/METADATA,sha256=bTe0Sa9lr71O-_3oLhqdf1WhT3bPIjhbG5IJDutNdrs,7951
|
|
39
|
+
diffpy.structure-3.2.3.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
40
|
+
diffpy.structure-3.2.3.dist-info/entry_points.txt,sha256=nZfNAHRiWWZojxJz1NSIxiKERWBL437Xscb-WLL6JkM,65
|
|
41
|
+
diffpy.structure-3.2.3.dist-info/top_level.txt,sha256=34qLZyi9mxikpHepVDTMHrrNbe8VoOuz3ShYeiWA7KA,7
|
|
42
|
+
diffpy.structure-3.2.3.dist-info/RECORD,,
|
diffpy/Structure.py
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
##############################################################################
|
|
3
|
-
#
|
|
4
|
-
# diffpy.structure Complex Modeling Initiative
|
|
5
|
-
# (c) 2017 Brookhaven Science Associates,
|
|
6
|
-
# Brookhaven National Laboratory.
|
|
7
|
-
# All rights reserved.
|
|
8
|
-
#
|
|
9
|
-
# File coded by: Pavol Juhas
|
|
10
|
-
#
|
|
11
|
-
# See AUTHORS.txt for a list of people who contributed.
|
|
12
|
-
# See LICENSE.txt for license information.
|
|
13
|
-
#
|
|
14
|
-
##############################################################################
|
|
15
|
-
|
|
16
|
-
"""Support import of old camel-case module names with `DeprecationWarning`.
|
|
17
|
-
|
|
18
|
-
The imported camel-case modules are aliases for the current module
|
|
19
|
-
instances. Their `__name__` attributes are thus all in lower-case.
|
|
20
|
-
|
|
21
|
-
Warning
|
|
22
|
-
-------
|
|
23
|
-
This module is deprecated and will be removed in the future.
|
|
24
|
-
"""
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import sys
|
|
28
|
-
|
|
29
|
-
# install legacy import hooks
|
|
30
|
-
import diffpy.structure._legacy_importer
|
|
31
|
-
|
|
32
|
-
# replace this module with the new one
|
|
33
|
-
sys.modules["diffpy.Structure"] = diffpy.structure
|
|
34
|
-
|
|
35
|
-
# End of file
|
|
File without changes
|