@@ -46,7 +46,7 @@ def __init__(self, structures: list[Structure], scattering_type: str = "X-ray"):
46
46
try :
47
47
if struct .equivalent_indices == structures [ind - 1 ].equivalent_indices :
48
48
continue
49
- raise ValueError ("All structues must only vary in occupancy." )
49
+ raise ValueError ("All structures must only vary in occupancy." )
50
50
except AttributeError :
51
51
raise AttributeError ("Must use symmeteized structure objects" )
52
52
self ._structures = structures
@@ -64,7 +64,7 @@ def combine_sites(self, site_lists: list[list[str]]) -> None:
64
64
Many structures have more than three sites. If this is the case you may want to
65
65
add some sites together to make a psudo-site.
66
66
Args:
67
- site_lists(list): A list of lists of site lable strings. This allows you to combine
67
+ site_lists(list): A list of lists of site label strings. This allows you to combine
68
68
more than one set of sites at once.
69
69
"""
70
70
for combo in site_lists :
@@ -79,7 +79,7 @@ def set_plot_list(self, site_list: list[str]) -> None:
79
79
"""
80
80
set the list of sites to plot and the order to plot them in.
81
81
Args:
82
- site_list(list): A list of site lable strings. Index 0 goes on the top of the
82
+ site_list(list): A list of site label strings. Index 0 goes on the top of the
83
83
plot, index 1 goes on the bottom left, and index 2 goes on the bottom right.
84
84
"""
85
85
for site in site_list :
@@ -89,7 +89,7 @@ def set_plot_list(self, site_list: list[str]) -> None:
89
89
90
90
def make_plot (self , ** kwargs ):
91
91
"""
92
- Makes a plotly express scatter_ternary plot useing the fstar_coords dataframe and the
92
+ Makes a plotly express scatter_ternary plot using the fstar_coords dataframe and the
93
93
sites in plot list.
94
94
Args:
95
95
**kwargs: this can be any argument that the scatter_ternary fucntion can use.
@@ -100,7 +100,7 @@ def make_plot(self, **kwargs):
100
100
101
101
def _get_site_labels (self ):
102
102
"""
103
- Generates unique site labels based on composition, order, and symetry equivalence in the structure object.
103
+ Generates unique site labels based on composition, order, and symmetry equivalence in the structure object.
104
104
Ex:
105
105
Structure Summary
106
106
Lattice
0 commit comments