Commit 6f2b574a authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'dev-migration' of gitlab.mpcdf.mpg.de:nomad-lab/nomad-FAIR into migration

parents 14c53b3f 5c9eaccc
......@@ -149,6 +149,9 @@ class Calc(Base, datamodel.Calc): # type: ignore
result.setdefault('atom_labels', []).append(topic.topic)
elif topic.cid == base.topic_crystal_system:
result.crystal_system = topic.topic
elif topic.cid in [1996, 1994, 703, 702, 701, 100]:
# user/author, restriction, formulas?, another category
pass
else:
raise KeyError('topic cid %s.' % str(topic.cid))
......
Supports Markdown
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