Git Product home page Git Product logo

tools's Introduction

FX's scripts for science and chemistry

This rep contains scripts that I use regularly, in the hope that others might find them useful. Below is a description of each, roughly classified by "category".

Bibliography

  • doi2bib: give it a DOI, it gives you a full bib entry
  • extractdoi: gets DOI from PDF (when possible)
  • texsize: list size of all figures included in TeX document
  • text2doi: get DOI from references in text format (one per line)

Computational chemistry

  • crystal2cif: extract information from CRYSTAL17 output file into CIF format
  • findsym.py: find space group of crystal structures (front-end to ASE/spglib routines)

Misc tools

  • unicode: display the characters in a Unicode string

tools's People

Contributors

cthoyt avatar fxcoudert avatar jduerholt avatar luthaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tools's Issues

Empty short journal name

In some cases CrossRef may return only "full_title" field and empty "abbrev_title" field in journal information.
May be we should fallback to "full_title" if "abbrev_title" is empty?

Testcase: "doi2bib 10.1515/rnam-2014-0001" returns no journal name.

Editors in authors

Brillant code! Saves a lot of my time.

other.getElementsByTagName("person_name"):

This retrieves both authors AND editors. How can I get only the authors?

Similar project

Hi. Nice project. I have made a similar tool (not knowing yours existed), searchtobibtex.

  1. Yours is more nicely written (mine is in bash)
  2. You may wish to copy/take functionality (I am not sure but e.g. I have a pdf renaming tool)
  3. Would you consider releasing it under a permissive licence? I may then consider contributing to your tool instead of developing searchtobibtex (or vice versa)

Suggestions

Thanks for this - very nice!
(1) I'm not sure why you include spaces surrounding the arguments of "{..}". This is not usual BibTeX style and I would omit them.
(2) I prefer first name before surname. Would be nice to have option for that.
(3) Could you add a doi field? Ironic not to include it.
(4) A very valuable feature would be to capitalize the title, as per BibTeX standards, which few publishers bother to do.

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.