Code Monkey home page Code Monkey logo

reffix's People

Contributors

devernay avatar kasnerz avatar oplatek avatar tuetschek 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

Watchers

 avatar

reffix's Issues

Too many capitals get protected by default

Commit fdea5b7 from #15 breaks #9

It protects too many words in the title, only "PartNet", "A", and "3D" should be protected

    'title': '{P}art{N}et: {A} {L}arge-Scale {B}enchmark for {F}ine-Grained '
             'and {H}ierarchical {P}art-Level 3{D} {O}bject {U}nderstanding',

from https://dblp.org/rec/conf/cvpr/MoZCYTGS19.bib:

@inproceedings{DBLP:conf/cvpr/MoZCYTGS19,
  author       = {Kaichun Mo and
                  Shilin Zhu and
                  Angel X. Chang and
                  Li Yi and
                  Subarna Tripathi and
                  Leonidas J. Guibas and
                  Hao Su},
  title        = {PartNet: {A} Large-Scale Benchmark for Fine-Grained and Hierarchical
                  Part-Level 3D Object Understanding},
  booktitle    = {{IEEE} Conference on Computer Vision and Pattern Recognition, {CVPR}
                  2019, Long Beach, CA, USA, June 16-20, 2019},
  pages        = {909--918},
  publisher    = {Computer Vision Foundation / {IEEE}},
  year         = {2019},
  url          = {http://openaccess.thecvf.com/content\_CVPR\_2019/html/Mo\_PartNet\_A\_Large-Scale\_Benchmark\_for\_Fine-Grained\_and\_Hierarchical\_Part-Level\_3D\_CVPR\_2019\_paper.html},
  doi          = {10.1109/CVPR.2019.00100},
  timestamp    = {Mon, 30 Aug 2021 17:01:14 +0200},
  biburl       = {https://dblp.org/rec/conf/cvpr/MoZCYTGS19.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}

It should be (breaking words is bad, it breaks search etc)

    'title': '{PartNet:} {A} Large-Scale Benchmark for Fine-Grained '
             'and Hierarchical Part-Level {3D} Object Understanding',

Relative import problem

The current Git main version triggers the following error in my setup:

Traceback (most recent call last):
File "/mnt/c/Users/Ondra/Werke/reffix/reffix/./reffix.py", line 28, in <module>
    from . import utils as ut
ImportError: attempted relative import with no known parent package

This is what fixes it for me:

--- a/reffix/reffix.py
+++ b/reffix/reffix.py
@@ -25,7 +25,7 @@ import bibtexparser
 import re
 import pprint

-from . import utils as ut
+import utils as ut

 from bibtexparser.bparser import BibTexParser
 import bibtexparser.customization as bc

Not sure if I'm doing something wrong?

Add tests

Add a test bibtex file and a simple pytest script.

argparse long options should use '-' instead of '_'

To follow usual POSIX conventions.

For example, here it should be --replace-arxiv instead of --replace_arxiv.

Argparse will replace -with _ for you, so you dont need to change anything else (source): "Any internal - characters will be converted to _ characters to make sure the string is a valid attribute name."

❤️ the project. One of the most useful bib tools around.

PyPI package

Modify the structure to make the package installable and upload it on PyPI.

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.