'Stop iteration' error when required field is added
The following piece of code returns a 'Stop iteration' error.
max_entries = 23000
query = ArchiveQuery(
query={
'$and': [
{'dft.code_name': 'VASP'},
{'dft.crystal_system':'cubic'},
{'atoms': ['O']},
{'dft.xc_functional':"GGA"},
{'dft.compound_type': 'ternary'},
{'$lte': {'dft.workflow.section_geometry_optimization.final_energy_difference': 1e-20}},
]
},
required={
'section_workflow': {
'calculation_result_ref': {
'single_configuration_calculation_to_system_ref': {
'chemical_composition_reduced': '*',
'chemical_composition': '*',
'section_symmetry': '*',
'simulation_cell': '*',
'lattice_vectors': '*',
'atom_species': '*',
'atom_labels': '*',
'atom_positions': '*',
}
}
},
},
per_page=100,
max=max_entries)
The same code used to work 1/2 weeks ago. If the required field is removed the error is not shown.