output_queue = manager.Queue(self.queue_size)
// Consider only PDB ids that aren"t already stored
pdb_ids = self.get_representative_ids(self.clusters).difference(self.get_stored_structure_ids())
num_structures = len(pdb_ids)
After Change
// NOTE We store as list so order is retained when debugging
pdb_ids = [
pdb_id
for pdb_id in self.get_representative_ids(self.clusters)
if pdb_id not in self.get_stored_structure_ids()
]
num_structures = len(pdb_ids)