Skip to content

Commit

Permalink
fix: update benchmark URL to InstaDeepAI/ms_ninespecies_benchmark (#28)
Browse files Browse the repository at this point in the history
* fix: update benchmark URL to InstaDeepAI/ms_ninespecies_benchmark

* docs: only publish docs on main
  • Loading branch information
BioGeek authored Feb 27, 2024
1 parent 53dd49a commit 0beb676
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
- tests

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pytest-multiversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ jobs:
- name: Test with pytest
run: |
pytest -v --alluredir=allure_results --cov-report=html --cov --cov-config=.coveragerc --random-order
coverage report -m
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The dataset is tabular, where each row corresponds to a labelled MS2 spectra.
The intensity values of the MS2 spectrum

For example, the DataFrame for the
[Nine-Species excluding Yeast](https://huggingface.co/datasets/InstaDeepAI/instanovo_ninespecies_exclude_yeast)
[Nine-Species excluding Yeast](https://huggingface.co/datasets/InstaDeepAI/ms_ninespecies_benchmark)
dataset look as follows:

| | sequence | modified_sequence | precursor_mz | precursor_charge | mz_array | intensity_array |
Expand Down
4 changes: 2 additions & 2 deletions notebooks/getting_started_with_instanovo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@
"from datasets import load_dataset\n",
"\n",
"# Only evaluate on a subset of the data for demo\n",
"dataset = load_dataset(\"InstaDeepAI/instanovo_ninespecies_exclude_yeast\", split=\"test[:10%]\")\n",
"dataset = load_dataset(\"InstaDeepAI/ms_ninespecies_benchmark\", split=\"test[:10%]\")\n",
"\n",
"# Otherwise evaluate on the full test set\n",
"# dataset = load_dataset(\"InstaDeepAI/instanovo_ninespecies_exclude_yeast\", split=\"test\")"
"# dataset = load_dataset(\"InstaDeepAI/ms_ninespecies_benchmark\", split=\"test\")"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mkdocs-material==8.5.6
mkdocs-pymdownx-material-extras==2.2.1
mkdocstrings==0.23.0
mkdocstrings-python==1.7.1
pymdown-extensions==9.5
pymdown-extensions==10.7
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def dataset() -> DatasetDict | Dataset | IterableDatasetDict | IterableDataset:
Loads a specific subset (1% of test data) from the 'instanovo_ninespecies_exclude_yeast' dataset.
"""
return load_dataset("InstaDeepAI/instanovo_ninespecies_exclude_yeast", split="test[:1%]")
return load_dataset("InstaDeepAI/ms_ninespecies_benchmark", split="test[:1%]")


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 0beb676

Please sign in to comment.