Repository: texworld/betterbib (language: python)

Issue:
Incorrect replacement
Thanks for the nice package!

The journal `Bioinformatics` is being replaced with `Method. Biochem. Anal.`
This is incorrect, as per CASSI, `Bioinformatics` does not require an abbreviation: https://cassi.cas.org/publication.jsp?P=eCQtRPJo9AQyz133K_ll3zLPXfcr-WXfzC0f2rDu7jt-hdyj2IrF7DLPXfcr-WXfMs9d9yv5Zd_72xFCYgjEkzLPXfcr-WXfMs9d9yv5Zd8lhk4KUstlF2wOm4mJuHLo


Discussion / hints:
The report belongs [here](https://github.com/JabRef/abbrv.jabref.org). It appears that the file `journal_abbreviations_webofscience.csv` contains the wrong entry.
Ok let's keep this open until the problem is corrected upstream, see PR [here](https://github.com/JabRef/abbrv.jabref.org/issues/92)
Good news: upstream PR has been merged. 
Bad news: I re-installed `betterbib` and performed the same command again and the issue persists. 

Here's an example for debugging:

```bib
@article{karimi2019deepaffinity,
  title={DeepAffinity: interpretable deep learning of compound--protein affinity through unified recurrent and convolutional neural networks},
  author={Karimi, Mostafa and Wu, Di and Wang, Zhangyang and Shen, Yang},
  journal={Bioinformatics},
  volume={35},
  number={18},
  pages={3329--3338},
  year={2019},
  publisher={Oxford University Press}
}
```

Fix patch:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2a39bbe..6b740f0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,7 +23,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: ["3.7", "3.8", "3.9", "3.10-dev"]
+        python-version: ["3.7", "3.8", "3.9", "3.10"]
     steps:
       - uses: actions/setup-python@v2
         with:
diff --git a/README.md b/README.md
index d71bd16..23e60ad 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,8 @@
 [![PyPi Version](https://img.shields.io/pypi/v/betterbib.svg?style=flat-square)](https://pypi.org/project/betterbib)
 [![PyPI pyversions](https://img.shields.io/pypi/pyversions/betterbib.svg?style=flat-square)](https://pypi.org/pypi/betterbib/)
 [![GitHub stars](https://img.shields.io/github/stars/nschloe/betterbib.svg?style=flat-square&logo=github&label=Stars&logoColor=white)](https://github.com/nschloe/betterbib)
-[![PyPi downloads](https://img.shields.io/pypi/dm/betterbib.svg?style=flat-square)](https://pypistats.org/packages/betterbib)
+[![Downloads](https://pepy.tech/badge/betterbib/month?style=flat-square)](https://pepy.tech/project/betterbib)
+<!--[![PyPi downloads](https://img.shields.io/pypi/dm/betterbib.svg?style=flat-square)](https://pypistats.org/packages/betterbib)-->
 
 [![Discord](https://img.shields.io/static/v1?logo=discord&label=chat&message=on%20discord&color=7289da&style=flat-square)](https://discord.gg/hnTJ5MRX2Y)
 
diff --git a/setup.cfg b/setup.cfg
index dadfeb2..118fc14 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = betterbib
-version = 4.0.2
+version = 4.0.3
 author = Nico Schlömer
 author_email = nico.schloemer@gmail.com
 description = Better BibTeX data


Test patch:
diff --git a/tests/cli/test_update_cli.py b/tests/cli/test_update_cli.py
index 0eb6089..8ba6046 100644
--- a/tests/cli/test_update_cli.py
+++ b/tests/cli/test_update_cli.py
@@ -43,8 +43,9 @@ def test_cli_update(capsys):
 
         betterbib.cli.main(["update", str(infile)])
         captured = capsys.readouterr()
-        assert captured.out == ref_out
+        assert captured.out == "\n" + ref_out
 
         betterbib.cli.main(["up", "--in-place", str(infile)])
         with open(infile) as f:
-            assert f.read() == ref_out
+            fcontent = f.read()
+        assert fcontent == ref_out