Skip to content
Snippets Groups Projects
Commit 884d4ba9 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fixing atom labels

content of a cached section is always a list and we created a list of lists
instead of a plain list
parent 37fe04f3
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class Wien2kStructContext(object):
labels = []
pos = []
for eqAtoms in equiv_atoms:
label = eqAtoms["x_wien2k_atom_name"]
label = eqAtoms["x_wien2k_atom_name"][0]
x = eqAtoms["x_wien2k_atom_pos_x"]
y = eqAtoms["x_wien2k_atom_pos_y"]
z = eqAtoms["x_wien2k_atom_pos_z"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment