22"""Module for handling automated calculation via aiida-quantumespresso."""
33from __future__ import annotations
44
5+ from typing import Literal
56from copy import copy , deepcopy
67import time
78import sys
@@ -37,7 +38,7 @@ class AiiDAEnsemble(Ensemble):
3738 def compute_ensemble ( # pylint: disable=arguments-renamed
3839 self ,
3940 pw_code : str ,
40- protocol : str ['fast' , 'moderate ' , 'precise ' ] = 'moderate ' ,
41+ protocol : Literal ['fast' , 'balanced ' , 'stringent ' ] = 'balanced ' ,
4142 options : dict | None = None ,
4243 overrides : dict | None = None ,
4344 group_label : str | None = None ,
@@ -51,7 +52,7 @@ def compute_ensemble( # pylint: disable=arguments-renamed
5152 Args:
5253 ----
5354 pw_code: The string associated with the AiiDA code for `pw.x`
54- protocol: The protocol to be used; available protocols are 'fast', 'moderate ' and 'precise '
55+ protocol: The protocol to be used; available protocols are 'fast', 'balanced ' and 'stringent '
5556 options: The options for the calculations, such as the resources, wall-time, etc.
5657 overrides: The overrides for the :func:`aiida_quantumespresso.workflows.pw.base.PwBaseWorkChain.get_builder_from_protocol`
5758 group_label: The group label where to add the submitted nodes for eventual future inspection
0 commit comments