diff --git a/aiidalab_launch/__main__.py b/aiidalab_launch/__main__.py index 613072a..83cf08d 100644 --- a/aiidalab_launch/__main__.py +++ b/aiidalab_launch/__main__.py @@ -242,10 +242,12 @@ def remove_profile(ctx, app_state, profile, yes, force, purge): raise click.ClickException(f"Profile with name '{prof}' does not exist.") else: if purge: - ctx.invoke(reset, profile=profile, yes=yes) + ctx.invoke(reset, profile=profile, yes=yes) if not force: - instance = AiidaLabInstance(client=app_state.docker_client, profile=profile) + instance = AiidaLabInstance( + client=app_state.docker_client, profile=profile + ) status = asyncio.run(instance.status()) if status not in ( instance.AiidaLabInstanceStatus.DOWN,