diff --git a/mala/targets/density.py b/mala/targets/density.py index 2ac353b73..5782611fa 100644 --- a/mala/targets/density.py +++ b/mala/targets/density.py @@ -947,7 +947,7 @@ def __setup_total_energy_module( qe_input_data=None, qe_pseudopotentials=None, ): - if create_file: + if create_file and Density.te_mutex is False: # If not otherwise specified, use values as read in. if qe_input_data is None: qe_input_data = self.qe_input_data