We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the below section of VaspMultiStageWorkChain (https://github.com/morgan-group-bath/aiida-bjm/blob/9335c95034d7569ba83b7bfd648f171124e298ac/aiida_bjm/workchains/vasp_multistage.py#L523-L532), if we face an issue and change the ALGO to All, then if the same issue happens, none of if elif conditions will meet, and therfore, the process gets excepted with:
VaspMultiStageWorkChain
ALGO
All
if elif
algo = self.ctx.modifications['ALGO'] KeyError: 'ALGO'
Solution is that having an else or elif to capture this and breaks the process peacefully with proper exit code.
else
elif
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the below section of
VaspMultiStageWorkChain
(https://github.com/morgan-group-bath/aiida-bjm/blob/9335c95034d7569ba83b7bfd648f171124e298ac/aiida_bjm/workchains/vasp_multistage.py#L523-L532), if we face an issue and change theALGO
toAll
, then if the same issue happens, none ofif elif
conditions will meet, and therfore, the process gets excepted with:Solution is that having an
else
orelif
to capture this and breaks the process peacefully with proper exit code.The text was updated successfully, but these errors were encountered: