-
Notifications
You must be signed in to change notification settings - Fork 7
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
further cmdline features requested #99
Comments
A garbage collection command would be nice. I.e workflows should not autodelete, but could write something in the extras. Example all wc which fail write: Test submission scripts write: If we do this, we can simple expose a command which runs a usual aiida delete over all those. |
Add first implementation of a command line interface(CLI) This is a first layout with first commands implemented including: - data fleurinp list: query db for fleurinp - data fleurinp cat: cat a certain file, usually inp.xml - plot: exposing plot_fleur - data structure import: import structure from inp.xml - data parameter import - workflow res: print all content of all Dict outputs of a process - workflow inputdict: print content of all Dict inputs of a process - aiida-fleur launch <workflow/calcjob> Launch is able to launch any aiida-fleur workchain from the command line. A structure input can also be given as a file in any common structure format handable by ase like: - aiida-fleur launch inpgen -s ~/Desktop/1533724.cif Solves issue #14, leftovers and further ideas are found in issue #99
commands to prepare easily wf parameter and other dict nodes, |
The -s structurefile option should support the inpgen input file |
A command
An additional |
Here we collect feature requests for further cmdline options. Not all were yet implemented in the first cmdline implementation.
Collected:
Expose functionality to trim output files?
Vasily:
I think I have come up with several suggestions:
Jens:
is easy I will add this, because I will add an option to run this through spglib and get the sym group, number and ggf other information.
Overall, I do not want to add to much of these, since you can already do this with:
aiida-fleur data fleurinp cat <pk> | grep -i3 symOp
or withaiida-fleur data fleurinp cat <pk> | grep row-
Since we can cat any file in fleurinp, one can just grep for everything.
With this I also agree, Fleurinpmodifier is also meant to be used interactively for example in ipython. Through, I currently do not see how to best expose the whole Fleurinpmodifier functionality in one command. Or do we just expose a fixed small set of cases on the cli that people often want to do?
Would first have to be designed and implemented as an internal function/tool also with choice to keep the provenance.
Which interface we then expose on the command line.
I like this idea to give the user power to clean up 'per hand' on failed stuff.
In general for this one should also disable (certain) failed calculation as valid caches. ;-)
The text was updated successfully, but these errors were encountered: