Skip to content

Commit 70fda7a

Browse files
committed
remove unnecessary .keys()
1 parent 9b350fa commit 70fda7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WDPhotTools/theoretical_lf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def set_ms_model(self, model, ms_function=None):
471471
472472
"""
473473

474-
if model in self.ms_model_to_file.keys():
474+
if model in self.ms_model_to_file:
475475

476476
self.wdlf_params["ms_model"] = model
477477
datatable = load_ms_lifetime_datatable(self.ms_model_to_file[model])

0 commit comments

Comments
 (0)