@@ -180,7 +180,7 @@ def get_items(self):
180
180
for chemsys_l in all_chemsys :
181
181
chemsys = "-" .join (sorted (chemsys_l ))
182
182
chemsys_wo = "-" .join (sorted (set (chemsys_l ) - {self .working_ion }))
183
- chemsys_query = {"$and" : [{"chemsys" : {"$in" : [chemsys_wo , chemsys ]}}, self .query .copy (), ]}
183
+ chemsys_query = {"$and" : [{"chemsys" : {"$in" : [chemsys_wo , chemsys ]}}, self .query .copy ()]}
184
184
self .logger .debug (f"QUERY: { chemsys_query } " )
185
185
all_mats_in_chemsys = list (
186
186
self .materials .query (
@@ -192,7 +192,7 @@ def get_items(self):
192
192
all_target_docs = list (
193
193
self .sgroups .query (
194
194
criteria = {"chemsys" : chemsys },
195
- properties = ["group_id" , self .sgroups .last_updated_field , "material_ids" , ],
195
+ properties = ["group_id" , self .sgroups .last_updated_field , "material_ids" ],
196
196
)
197
197
)
198
198
self .logger .debug (f"Found { len (all_target_docs )} Grouped documents in { chemsys_wo } " )
@@ -323,7 +323,7 @@ def get_thermo_docs(mat_ids):
323
323
thermo_docs = list (
324
324
self .thermo .query (
325
325
{"$and" : [{"material_id" : {"$in" : mat_ids }}]},
326
- properties = ["material_id" , "_sbxn" , "thermo" , "entries" , "energy_type" , "energy_above_hull" , ],
326
+ properties = ["material_id" , "_sbxn" , "thermo" , "entries" , "energy_type" , "energy_above_hull" ],
327
327
)
328
328
)
329
329
0 commit comments