Skip to content

Commit

Permalink
ci: udpate test
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisborn committed Dec 24, 2023
1 parent 730feed commit 23bc553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ i.search("quantum information", threshold=90, return_all=True)
# ]
```

Then, `i.journal_to_if` should give you a dictionary wit journal to IF mappings for >9000 journals as of 2014.

### Plotting

When multiple query searches are performed, two types of plots can be generated
Expand Down
4 changes: 2 additions & 2 deletions paperscraper/tests/test_impactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ def test_return_all_fields(self, impactor: Impactor):

def test_quantum_information_search(self, impactor):
expected_results = [
{"journal": "npj Quantum Information", "factor": 10.758, "score": 95},
{"journal": "InfoMat", "factor": 24.798, "score": 71},
{"journal": "Information Fusion", "factor": 17.564, "score": 71},
{"journal": "npj Quantum Information", "factor": 10.758, "score": 95},
]

results = impactor.search(
"Quantum information", threshold=70, sort_by="score", min_impact=8
"Quantum information", threshold=70, sort_by="factor", min_impact=8
)

# Ensure that the results match the expected results
Expand Down

0 comments on commit 23bc553

Please sign in to comment.