pyscal / atomRDF

atomRDF is a python tool for ontology-based creation, manipulation, and quering of structures. atomRDF uses the Computational Material Sample Ontology (CMSO).
https://atomrdf.pyscal.org
MIT License
10 stars 2 forks source link

LatticeAngle for HCP angle should be 90, 90, 120 #80

Closed NinadBhat closed 7 months ago

NinadBhat commented 7 months ago

Currently creating HCP lattice using primitive=False, leads to lattice angle 90,90,90. On discussion with @aazocar we think that lattice angle should still be 90,90,120. The cell angle however will still be 90,90,90 which is currently done correctly.

Code to reproduce:

kg = KnowledgeGraph()

struct_Mg = System.create.element.Mg(graph=kg,  repetitions=(10,10,10))
kg.write("test_mg.ttl", format="ttl")

Versions pyscal_rdf : 0.3.2