Skip to content

Commit

Permalink
Expand on restart params in warning for parent_folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx committed Apr 16, 2023
1 parent c0eb159 commit 57a1f48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/aiida_quantumespresso/calculations/pw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57a1f48

Please sign in to comment.