From 22fb31780c328143b02dc31180800b95c746610e Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Fri, 6 Oct 2023 20:38:43 +0000 Subject: [PATCH] Set default to clean up of workflow --- src/aiidalab_qe/workflows/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiidalab_qe/workflows/__init__.py b/src/aiidalab_qe/workflows/__init__.py index 4f9236adc..26d2f295a 100644 --- a/src/aiidalab_qe/workflows/__init__.py +++ b/src/aiidalab_qe/workflows/__init__.py @@ -52,7 +52,7 @@ def define(cls, spec): super().define(spec) spec.input('structure', valid_type=StructureData, help='The inputs structure.') - spec.input('clean_workdir', valid_type=orm.Bool, default=lambda: orm.Bool(False), + spec.input('clean_workdir', valid_type=orm.Bool, default=lambda: orm.Bool(True), help='If `True`, work directories of all called calculation will be cleaned at the end of execution.') spec.input('properties', valid_type=orm.List, default=lambda: orm.List(), help='The properties to calculate, used to control the logic of QeAppWorkChain.')