We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c72043 commit 0fdce76Copy full SHA for 0fdce76
tests/t_labels.py
@@ -1,7 +1,7 @@
1
from holytools.devtools import Unittest
2
from pymatgen.core import Lattice
3
4
-from xrdpattern.crystal import CrystalStructure, CrystalBasis
+from xrdpattern.crystal import CrystalStructure
5
from xrdpattern.xrd import PowderExperiment, XrayInfo
6
from xrdpattern.xrd.experiment import ExperimentTensor
7
xrdpattern/crystal/components/base.py
@@ -41,7 +41,7 @@ def append(self, item : AtomSite):
41
self.atom_sites.append(item)
42
43
def __add__(self, other : list[AtomSite]):
44
- new_base = CrystalBasis()
+ new_base = CrystalBasis(atomic_sites=[])
45
for site in self:
46
new_base.append(site)
47
for site in other:
0 commit comments