pymdkit 1.2.7__tar.gz → 1.2.9__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.
- {pymdkit-1.2.7/src/pymdkit.egg-info → pymdkit-1.2.9}/PKG-INFO +1 -1
- {pymdkit-1.2.7 → pymdkit-1.2.9}/pyproject.toml +1 -1
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/__init__.py +1 -1
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/stable_entry.py +4 -2
- {pymdkit-1.2.7 → pymdkit-1.2.9/src/pymdkit.egg-info}/PKG-INFO +1 -1
- {pymdkit-1.2.7 → pymdkit-1.2.9}/LICENSE +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/README.md +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/setup.cfg +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/__init__.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/_fileio.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/_vasp_output.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/_vaspset.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/add_groups.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/compute_ehull.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/compute_msd_all_groups.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/compute_rmsd.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/electrostatic_energy.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/final_energy.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/gather_contcar.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/nep_rmse.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/perturb.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/stru2xyz.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/submit_vasp.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/substitute.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/supercell.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/symmetrize.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/vasp2xyz.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/vasp_relax.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/commands/vasp_static.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit/pymdkit_main.py +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit.egg-info/SOURCES.txt +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit.egg-info/dependency_links.txt +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit.egg-info/entry_points.txt +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit.egg-info/requires.txt +0 -0
- {pymdkit-1.2.7 → pymdkit-1.2.9}/src/pymdkit.egg-info/top_level.txt +0 -0
|
@@ -5,6 +5,8 @@ from __future__ import annotations
|
|
|
5
5
|
import argparse
|
|
6
6
|
import json
|
|
7
7
|
import re
|
|
8
|
+
from urllib.parse import quote
|
|
9
|
+
from urllib.request import Request, urlopen
|
|
8
10
|
from pathlib import Path
|
|
9
11
|
|
|
10
12
|
COMMAND = "stable-entry"
|
|
@@ -123,10 +125,10 @@ def fetch_stable_entries(elements, api_key=None):
|
|
|
123
125
|
entries = mpr.get_entries_in_chemsys(
|
|
124
126
|
elements,
|
|
125
127
|
inc_structure=True,
|
|
126
|
-
property_data=["material_id"
|
|
128
|
+
property_data=["material_id"],
|
|
127
129
|
additional_criteria={"thermo_types": ["GGA_GGA+U"]},
|
|
128
130
|
)
|
|
129
|
-
except TypeError:
|
|
131
|
+
except (TypeError, KeyError):
|
|
130
132
|
entries = mpr.get_entries_in_chemsys(
|
|
131
133
|
elements,
|
|
132
134
|
inc_structure=True,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|