@@ -33,7 +33,7 @@ def __init__(
33
33
db_file = None ,
34
34
parents = None ,
35
35
metadata = None ,
36
- ** kwargs
36
+ ** kwargs ,
37
37
):
38
38
"""
39
39
Write the input set for FEFF-XAS spectroscopy, run FEFF and insert the absorption
@@ -63,7 +63,7 @@ def __init__(
63
63
structure ,
64
64
edge = edge ,
65
65
radius = radius ,
66
- ** override_default_feff_params
66
+ ** override_default_feff_params ,
67
67
)
68
68
spectrum_type = feff_input_set .__class__ .__name__ [2 :- 3 ]
69
69
@@ -90,8 +90,8 @@ def __init__(
90
90
super ().__init__ (
91
91
t ,
92
92
parents = parents ,
93
- name = "{}-{}" . format ( structure .composition .reduced_formula , name ) ,
94
- ** kwargs
93
+ name = f" { structure .composition .reduced_formula } - { name } " ,
94
+ ** kwargs ,
95
95
)
96
96
97
97
@@ -114,7 +114,7 @@ def __init__(
114
114
db_file = None ,
115
115
parents = None ,
116
116
metadata = None ,
117
- ** kwargs
117
+ ** kwargs ,
118
118
):
119
119
"""
120
120
Write the input set for FEFF-EELSS spectroscopy, run feff and insert the core-loss spectrum
@@ -154,7 +154,7 @@ def __init__(
154
154
collection_angle ,
155
155
convergence_angle ,
156
156
user_eels_settings = user_eels_settings ,
157
- ** override_default_feff_params
157
+ ** override_default_feff_params ,
158
158
)
159
159
spectrum_type = feff_input_set .__class__ .__name__ [2 :- 3 ]
160
160
@@ -181,8 +181,8 @@ def __init__(
181
181
super ().__init__ (
182
182
t ,
183
183
parents = parents ,
184
- name = "{}-{}" . format ( structure .composition .reduced_formula , name ) ,
185
- ** kwargs
184
+ name = f" { structure .composition .reduced_formula } - { name } " ,
185
+ ** kwargs ,
186
186
)
187
187
188
188
@@ -203,7 +203,7 @@ def __init__(
203
203
filepad_file = None ,
204
204
labels = None ,
205
205
metadata = None ,
206
- ** kwargs
206
+ ** kwargs ,
207
207
):
208
208
"""
209
209
Write the input set for FEFF-EXAFS spectroscopy with customized scattering paths, run feff,
@@ -237,7 +237,7 @@ def __init__(
237
237
structure ,
238
238
edge = edge ,
239
239
radius = radius ,
240
- ** override_default_feff_params
240
+ ** override_default_feff_params ,
241
241
)
242
242
243
243
t = [
@@ -260,6 +260,6 @@ def __init__(
260
260
super ().__init__ (
261
261
t ,
262
262
parents = parents ,
263
- name = "{}-{}" . format ( structure .composition .reduced_formula , name ) ,
264
- ** kwargs
263
+ name = f" { structure .composition .reduced_formula } - { name } " ,
264
+ ** kwargs ,
265
265
)
0 commit comments