diffpy.apps 0.2.0rc1__tar.gz → 0.2.0rc3__tar.gz
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_apps-0.2.0rc1/src/diffpy.apps.egg-info → diffpy_apps-0.2.0rc3}/PKG-INFO +3 -3
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/pyproject.toml +2 -2
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/requirements/tests.txt +1 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/apps/app_agentify.py +4 -0
- {diffpy_apps-0.2.0rc1/src/diffpy/apps/refinebase → diffpy_apps-0.2.0rc3/src/diffpy/apps/parametric_refinement}/parametric_model.py +302 -208
- {diffpy_apps-0.2.0rc1/src/diffpy/apps/refinebase → diffpy_apps-0.2.0rc3/src/diffpy/apps/parametric_refinement}/refinement_server.py +85 -13
- {diffpy_apps-0.2.0rc1/src/diffpy/apps/refinebase → diffpy_apps-0.2.0rc3/src/diffpy/apps/parametric_refinement}/refinement_session.py +161 -48
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/apps/pdfadapter.py +7 -5
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3/src/diffpy.apps.egg-info}/PKG-INFO +3 -3
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy.apps.egg-info/SOURCES.txt +4 -4
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/conftest.py +27 -2
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/helper.py +18 -18
- diffpy_apps-0.2.0rc3/tests/test_agentify.py +103 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/test_parametric_model.py +4 -2
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/test_pdfadapter.py +3 -1
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/test_refinement_server.py +29 -13
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/test_refinement_session.py +18 -7
- diffpy_apps-0.2.0rc1/tests/test_agentify.py +0 -119
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/AUTHORS.rst +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/LICENSE.rst +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/MANIFEST.in +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/README.rst +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/requirements/build.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/requirements/conda.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/requirements/docs.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/requirements/pip.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/setup.cfg +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/__init__.py +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/apps/__init__.py +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/apps/app_runmacro.py +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/apps/apps.py +0 -0
- {diffpy_apps-0.2.0rc1/src/diffpy/apps/refinebase → diffpy_apps-0.2.0rc3/src/diffpy/apps/parametric_refinement}/__init__.py +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy/apps/version.py +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy.apps.egg-info/dependency_links.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy.apps.egg-info/entry_points.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy.apps.egg-info/requires.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/src/diffpy.apps.egg-info/top_level.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/C60.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/Ni.cif +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/Ni.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/c60xyz.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/make_c60.txt +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/ni-q27r100-neutron.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/ni-q27r60-xray.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/pb.cif +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/pb_100_qmin1.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/si-q27r60-xray.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/si.cif +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/si90ni10-q27r60-xray.gr +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/data/sine.dat +0 -0
- {diffpy_apps-0.2.0rc1 → diffpy_apps-0.2.0rc3}/tests/test_runmacro.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffpy.apps
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.0rc3
|
|
4
4
|
Summary: User applications to help with tasks using diffpy packages
|
|
5
5
|
Author-email: Yuchen Xiao <xiaoyuch@msu.edu>, Simon Billinge <sbillinge@ucsb.edu>
|
|
6
6
|
Maintainer-email: Simon Billinge <sbillinge@ucsb.edu>
|
|
@@ -16,12 +16,12 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
16
16
|
Classifier: Operating System :: Microsoft :: Windows
|
|
17
17
|
Classifier: Operating System :: POSIX
|
|
18
18
|
Classifier: Operating System :: Unix
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
23
23
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
24
|
-
Requires-Python: <3.
|
|
24
|
+
Requires-Python: <3.15,>=3.12
|
|
25
25
|
Description-Content-Type: text/x-rst
|
|
26
26
|
License-File: LICENSE.rst
|
|
27
27
|
License-File: AUTHORS.rst
|
|
@@ -15,7 +15,7 @@ maintainers = [
|
|
|
15
15
|
description = "User applications to help with tasks using diffpy packages"
|
|
16
16
|
keywords = ['diffraction', 'PDF', 'X-ray', 'neutron']
|
|
17
17
|
readme = "README.rst"
|
|
18
|
-
requires-python = ">=3.
|
|
18
|
+
requires-python = ">=3.12, <3.15"
|
|
19
19
|
classifiers = [
|
|
20
20
|
'Development Status :: 5 - Production/Stable',
|
|
21
21
|
'Environment :: Console',
|
|
@@ -25,9 +25,9 @@ classifiers = [
|
|
|
25
25
|
'Operating System :: Microsoft :: Windows',
|
|
26
26
|
'Operating System :: POSIX',
|
|
27
27
|
'Operating System :: Unix',
|
|
28
|
-
'Programming Language :: Python :: 3.11',
|
|
29
28
|
'Programming Language :: Python :: 3.12',
|
|
30
29
|
'Programming Language :: Python :: 3.13',
|
|
30
|
+
'Programming Language :: Python :: 3.14',
|
|
31
31
|
'Topic :: Scientific/Engineering :: Physics',
|
|
32
32
|
'Topic :: Scientific/Engineering :: Chemistry',
|
|
33
33
|
]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import json
|
|
1
2
|
import shutil
|
|
2
3
|
import socket
|
|
3
4
|
import subprocess
|
|
@@ -44,9 +45,12 @@ def agentify(args):
|
|
|
44
45
|
["git", "clone", REPO_URL, str(tmp_path)],
|
|
45
46
|
check=True,
|
|
46
47
|
)
|
|
48
|
+
skills = json.load(open(tmp_path / "skills.json"))
|
|
47
49
|
for item in tmp_path.iterdir():
|
|
48
50
|
if item.is_dir():
|
|
49
51
|
destination = dest_dir / item.name
|
|
52
|
+
if item.name not in skills:
|
|
53
|
+
continue
|
|
50
54
|
if destination.exists():
|
|
51
55
|
if args.update:
|
|
52
56
|
shutil.rmtree(destination)
|