surface-construct 0.12.2__tar.gz → 0.12.3__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.
- {surface_construct-0.12.2/surface_construct.egg-info → surface_construct-0.12.3}/PKG-INFO +1 -1
- {surface_construct-0.12.2 → surface_construct-0.12.3}/setup.py +1 -1
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/surface_grid.py +1 -1
- {surface_construct-0.12.2 → surface_construct-0.12.3/surface_construct.egg-info}/PKG-INFO +1 -1
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_surface_grid.py +2 -1
- {surface_construct-0.12.2 → surface_construct-0.12.3}/LICENSE +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/README.md +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/setup.cfg +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/__init__.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/db.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/default_parameter.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/sg_sampler.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/__init__.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/adsorbate.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/combiner.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/pymsym_test.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/surface.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/__init__.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/afm.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/sitesampling.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/taskbase.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/terminations.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/__init__.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/atoms.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/geometry.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/pymsym_wrapper.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/spglib_wrapper.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/weight_functions.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/SOURCES.txt +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/dependency_links.txt +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/requires.txt +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/top_level.txt +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_adsorbate.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_combiner.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_sampling1.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_sampling2.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_simple_surface.py +0 -0
- {surface_construct-0.12.2 → surface_construct-0.12.3}/tests/test_task.py +0 -0
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/surface_grid.py
RENAMED
|
@@ -1158,7 +1158,7 @@ def combine_sg_vector(*sg_lst):
|
|
|
1158
1158
|
idx_down = idx_up + sg.vlen
|
|
1159
1159
|
old_idx_up, old_idx_down = old_idx*sg.vlen, (old_idx+1)*sg.vlen
|
|
1160
1160
|
vector[:, idx_up:idx_down] = sg._raw_vector[:, old_idx_up:old_idx_down]
|
|
1161
|
-
|
|
1161
|
+
vectors_lst.append(vector)
|
|
1162
1162
|
|
|
1163
1163
|
vector_combine = np.concatenate(vectors_lst, axis=0)
|
|
1164
1164
|
|
|
@@ -144,4 +144,5 @@ class TestSurfaceGrid:
|
|
|
144
144
|
assert sg_obj2.vector.shape[1] == 30
|
|
145
145
|
|
|
146
146
|
comb_vector = combine_sg_vector(sg_obj1, sg_obj2)
|
|
147
|
-
assert comb_vector.shape[1] == 75
|
|
147
|
+
assert comb_vector.shape[1] == 75
|
|
148
|
+
assert comb_vector.shape[0] == sg_obj1.vector.shape[0] + sg_obj2.vector.shape[0]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/default_parameter.py
RENAMED
|
File without changes
|
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/__init__.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/adsorbate.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/combiner.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/pymsym_test.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/structures/surface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/sitesampling.py
RENAMED
|
File without changes
|
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/tasks/terminations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/pymsym_wrapper.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/spglib_wrapper.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct/utils/weight_functions.py
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/requires.txt
RENAMED
|
File without changes
|
{surface_construct-0.12.2 → surface_construct-0.12.3}/surface_construct.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|