Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

proposed enhancement: interface and docs for a programmatic use (without cli) #6

Open
tdaff opened this issue Nov 3, 2015 · 0 comments

Comments

@tdaff
Copy link
Contributor

tdaff commented Nov 3, 2015

Since the backends are standard, this is probably already possible. However, some documentation and examples would be good to show that abcd can be used within scripts to interact with ase objects. It could be something like:

import abcd

my_db = abcd.Database('something.db')

for atoms_object in my_db.query('energy<-3460.93272745'):
    new_atoms = do_something(atoms_object)
    my_db.store(new_atoms)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant