chemql-python 1.4.0__tar.gz → 1.4.1__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.
- {chemql_python-1.4.0/src/chemql_python.egg-info → chemql_python-1.4.1}/PKG-INFO +1 -1
- {chemql_python-1.4.0 → chemql_python-1.4.1}/pyproject.toml +1 -1
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/__init__.py +1 -9
- {chemql_python-1.4.0 → chemql_python-1.4.1/src/chemql_python.egg-info}/PKG-INFO +1 -1
- {chemql_python-1.4.0 → chemql_python-1.4.1}/LICENSE +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/README.md +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/setup.cfg +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/__main__.py +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/BondEnergies.json +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/MoleculeBonds.json +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/Molecules.json +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/PeriodicTableJSON.json +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/Reactions.json +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/THIRD_PARTY_LICENSES/PeriodicTableJSON.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/THIRD_PARTY_LICENSES/RHEA.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/html/periodic_table.html +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/README.md +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/collections.cql +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/datetime.cql +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/json.cql +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/math/statistics.cql +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/math.cql +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/text.cql +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/SOURCES.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/dependency_links.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/entry_points.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/requires.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/top_level.txt +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/tests/test_external_molecule_lookup.py +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/tests/test_public_api.py +0 -0
- {chemql_python-1.4.0 → chemql_python-1.4.1}/tests/test_reactions.py +0 -0
|
@@ -61,7 +61,7 @@ __all__ = [
|
|
|
61
61
|
"__version__"
|
|
62
62
|
]
|
|
63
63
|
|
|
64
|
-
__version__ = "1.4.
|
|
64
|
+
__version__ = "1.4.1"
|
|
65
65
|
|
|
66
66
|
# Persistent preprocessor/function state for the current ChemQL session.
|
|
67
67
|
DEFINITIONS = {}
|
|
@@ -4858,15 +4858,7 @@ def process_lines(lines):
|
|
|
4858
4858
|
i += 1
|
|
4859
4859
|
continue
|
|
4860
4860
|
|
|
4861
|
-
# Python imports belong inside Python blocks, e.g. `[import math]`.
|
|
4862
4861
|
top_level_statement = remove_comments(_expand_definitions(raw_line)).strip()
|
|
4863
|
-
if top_level_statement.startswith("import ") or top_level_statement.startswith("from "):
|
|
4864
|
-
message = "Python imports must be inside a Python block, e.g. `[import math]`; use `load` for ChemQL packages."
|
|
4865
|
-
print(f"Error: {message}", file=sys.stderr)
|
|
4866
|
-
_record_execution(top_level_statement, message, False)
|
|
4867
|
-
i += 1
|
|
4868
|
-
continue
|
|
4869
|
-
|
|
4870
4862
|
# ChemQL package loading is separate from Python imports.
|
|
4871
4863
|
load_statement = top_level_statement
|
|
4872
4864
|
if load_statement == "load" or load_statement.startswith("load "):
|
|
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
|