Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ A python library with bibliographic and biblio-metric tools.
## Features

- Reads Web of Science (ISI) files.
- Reads scopus bibtex files.
- Merges scopus and ISI bibliographic collections.
- Reads scopus bibtex, ris and csv files.
- Merges bibliographic collections.
- Implements the [SAP][sap] algorithm.
- More features in the roadmap...

Expand All @@ -19,10 +19,10 @@ A python library with bibliographic and biblio-metric tools.
Here's how to apply the sap algorithm:

```python
from bibx import read_scopus, Sap
from bibx import read_scopus_bib, Sap

with open('./docs/examples/scopus.bib') as f:
c = read_scopus(f)
c = read_scopus_bib(f)
s = Sap()
g = s.create_graph(c)
g = s.clean_graph(g)
Expand Down
5 changes: 3 additions & 2 deletions src/bibx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
"query_openalex",
"read_any",
"read_scopus_bib",
"read_scopus_csv",
"read_scopus_ris",
"read_wos",
]

__version__ = "0.6.1"
__version__ = "0.6.2"


def query_openalex(
Expand Down Expand Up @@ -77,7 +78,7 @@ def read_wos(*files: TextIO) -> Collection:

def read_any(file: TextIO) -> Collection:
"""Try to read a file with the supported formats."""
for handler in (read_wos, read_scopus_ris, read_scopus_bib, read_scopus_csv):
for handler in (read_wos, read_scopus_ris, read_scopus_csv, read_scopus_bib):
try:
return handler(file)
except BibXError as e:
Expand Down