Commit 2bbada57 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed broken variable name.

parent c61ff1f2
......@@ -46,7 +46,7 @@ version_re = re.compile(r'(\d+(\.\d+(\.\d+)?)?)')
def map_functional_name_to_xc_treatment(name):
if name ==
if name ==
return name
return xc_treatments.get(name[:3].lower(), name)
......@@ -114,7 +114,7 @@ class DFTCalcWithMetadata(CalcWithMetadata):
if val is None:
'The values for %s where not available in any %s' % (key, section))
return unavailable_value if unavailable_value is not None else
return unavailable_value if unavailable_value is not None else
return val
......@@ -184,7 +184,7 @@ class SystemNormalizer(SystemBasedNormalizer):
Determine the dimensioality and hence the system type of the system with
Matid. Write the system type to the backend.
system_type = 'unavailable'
system_type =
dimensionality = get_dimensionality(
atoms, cluster_threshold=3.1, return_clusters=False)
......@@ -68,11 +68,11 @@ def assert_normalized(backend: LocalBackend):
assert len(metadata.atoms) > 0
assert metadata.spacegroup is not None
assert metadata.code_name is not
assert metadata.code_version is not
assert metadata.basis_set is not
assert metadata.xc_functional is not
assert metadata.system is not
assert metadata.code_name !=
assert metadata.code_version !=
assert metadata.basis_set !=
assert metadata.xc_functional !=
assert metadata.system !=
# TODO check symmetry where we know it should be there
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment