Spaces:
Runtime error
Runtime error
Andrei tomut
commited on
Commit
•
b220f75
1
Parent(s):
1fcd924
transpose
Browse files
interface_connection/latmatcher_interface.py
CHANGED
@@ -68,10 +68,10 @@ def compute_supercell_a(file_material_a, file_material_b,inter_distance , max_an
|
|
68 |
|
69 |
if file_source_a == ".xyz":
|
70 |
A_structure = extract_from_xyz(file1)
|
71 |
-
A_cell = A_structure["cell"]
|
72 |
if file_source_b == ".xyz":
|
73 |
B_structure = extract_from_xyz(file2)
|
74 |
-
B_cell=B_structure["cell"]
|
75 |
|
76 |
|
77 |
if file_source_a == "bespoke.json":
|
|
|
68 |
|
69 |
if file_source_a == ".xyz":
|
70 |
A_structure = extract_from_xyz(file1)
|
71 |
+
A_cell = A_structure["cell"].T
|
72 |
if file_source_b == ".xyz":
|
73 |
B_structure = extract_from_xyz(file2)
|
74 |
+
B_cell=B_structure["cell"].T
|
75 |
|
76 |
|
77 |
if file_source_a == "bespoke.json":
|