GithubHelp home page GithubHelp logo

abcd-2016's People

Contributors

gabor1 avatar jameskermode avatar muhrin avatar p-szm avatar tdaff avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abcd-2016's Issues

--remote --store fails for files larger than about 120KB

% abcd --remote abcd@gc121mac1 iron.db --store MDPHONON_128.xyz
OSError: [Errno 7] Argument list too long

It looks like the whole file gets added to the remote command as a b64 encoded string, which will be too large for many shells. Perhaps the file contents need to be piped to a listening server instead?

abcd-asedb --setup doesn't set a default directory

If no directory is set when running the command it is left blank in the config file. This causes abcd to always look in the working directory which often fails.

It would be nice if re-running the command would also pick up the current value and allow it to be changed.

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

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)

Consider consolidating configuration files

Could be changed to use a single file, or files in a single directory. Also consider conforming to freedesktop specification of XDG_CONFIG_HOME (i.e. ~/.config/) on Linux.

proposed ui enhancements: multiple backends; bookmarks

one should be able to use any installed backend at any time. Remote repositories should be remembered or be able to be bookmarked so that they appear in the list of available databases. Bookmarks could also be used to give shortened names to databases. For example:

usage: abcd [db-name] [selection] [options]
Hello. Databases you have access to:
>> asedb
   [my] my_first_db.db
   [short] long_name_for_database.db
   >> remote.ac.uk
      [collab] [email protected]:shared.db
      [collab2] [email protected]:shared_2.db
>> mongodb
   [db1] database_one
   database_no_short_name

Not compatible with Python 3

I've seen a few prints itertiems and basestrs. Likely just needs someone to find all the incompatibilities and make them compatible with Python 2 and 3. The other option is a compatibility layer like six.

Documentation should be updated to indicate which versions are supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.