def test_from_systems_methods(): identifiers = ["a", "b"] structures = [1, 2] systems = ["cubic", "hexagonal"] library = StructureLibrary.from_crystal_systems(identifiers, structures, systems, resolution=2)
def test_from_systems_methods(): identifiers = ["a", "b"] structures = [1, 2] systems = ["cubic", "hexagonal"] library = StructureLibrary.from_crystal_systems(identifiers, structures, systems, resolution=2, equal="angle") assert len(library.struct_lib["a"][1]) < len( library.struct_lib["b"][1]) # cubic is less area the hexagonal
def test_from_systems_methods(): identifiers = ['a', 'b'] structures = [1, 2] systems = ['cubic', 'hexagonal'] library = StructureLibrary.from_crystal_systems(identifiers, structures, systems, resolution=2, equal='angle') assert len(library.struct_lib['a'][1]) < len(library.struct_lib['b'][1]) # cubic is less area the hexagonal