@@ -180,7 +180,7 @@ def get_items(self):
180180 for chemsys_l in all_chemsys :
181181 chemsys = "-" .join (sorted (chemsys_l ))
182182 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 ()]}
184184 self .logger .debug (f"QUERY: { chemsys_query } " )
185185 all_mats_in_chemsys = list (
186186 self .materials .query (
@@ -192,7 +192,7 @@ def get_items(self):
192192 all_target_docs = list (
193193 self .sgroups .query (
194194 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" ],
196196 )
197197 )
198198 self .logger .debug (f"Found { len (all_target_docs )} Grouped documents in { chemsys_wo } " )
@@ -323,7 +323,7 @@ def get_thermo_docs(mat_ids):
323323 thermo_docs = list (
324324 self .thermo .query (
325325 {"$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" ],
327327 )
328328 )
329329
0 commit comments