diff --git a/src/aiida_quantumespresso/calculations/pw.py b/src/aiida_quantumespresso/calculations/pw.py index 7436d822f..f6c8971c9 100644 --- a/src/aiida_quantumespresso/calculations/pw.py +++ b/src/aiida_quantumespresso/calculations/pw.py @@ -184,7 +184,11 @@ def validate_inputs_base(value, _): ]): warnings.warn( f'`parent_folder` input was provided for the `{calculation_type}` `PwCalculation`, but no input' - 'parameters (e.g. `restart_mode`, `startingpot`, ...) are set to restart from this folder.' + 'parameters were provided to restart from this folder.\n\n' + 'Please set one of the following in the input parameters:\n' + " parameters['CONTROL']['restart_mode'] = 'restart'\n" + " parameters['ELECTRONS']['startingpot'] = 'file'\n" + " parameters['ELECTRONS']['startingwfc'] = 'file'\n" ) @classmethod