-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
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
AiiDA temp profile in shell
and Jupyter-notebook
#6070
Conversation
aiida/cmdline/commands/cmd_shell.py
Outdated
@click.option('--plain', is_flag=True, help='Use a plain Python shell.') | ||
@click.option('--standalone', is_flag=True, help='Use the services-free standalone option.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as discussed, standalone
may be a bit unclear on its behaviour and/or at least the help message should be improved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I changed it to temp
and updated the help message.
shell
and Jupyter-notebook
Hi @superstar54, thanks for the PR, this one uses sqlite, correct? So it goes after #6023? |
The PR uses the |
With us moving towards supporting profiles that don't require any services, I think it might be easier and more consistent to just encourage people use that (e.g. the proposed |
PR from AiiDA coding week.
Idea
One way to get people started with AiiDA is by offering a services-free option: i.e. just running codes with AiiDA:
Implementation: AiiDA temp profile
This PR provides the services-free option for using AiiDA. This will create a temporary profile to:
null
, a polling-mechanism is used to check the state of the process.In the following two places:
standalone
toverdi shell
.verdi shell --temp
standalone
parameter for theaiida
command.verdi run --temp
To improve
When the user runs the process use
submit
, it outputsAssertionError: runner does not have a persister
. This may make user confuse. Better totemp
profile.