Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ruff checks for tutorial notebook #180

Merged
merged 1 commit into from
Aug 19, 2024
Merged
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
5 changes: 2 additions & 3 deletions docs/source/tutorials/in-depth-python-api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37342,7 +37342,7 @@
"from pyteomics.mgf import read as read_mgf\n",
"\n",
"for spectrum in read_mgf(\"../../../examples/mgf/20161213_NGHF_DBJ_SA_Exp3A_HeLa_1ug_7min_15000_02.mgf\"):\n",
" print(spectrum[\"params\"][\"title\"])\n",
" print(spectrum[\"params\"][\"title\"]) # noqa T201\n",
" break"
]
},
Expand All @@ -37362,7 +37362,7 @@
"source": [
"import re\n",
"spectrum_id = re.match(r\".*scan=(\\d+)$\", spectrum[\"params\"][\"title\"]).group(1)\n",
"print(spectrum_id)"
"print(spectrum_id) # noqa T201"
]
},
{
Expand Down Expand Up @@ -38120,7 +38120,6 @@
"metadata": {},
"outputs": [],
"source": [
"import plotly.express as px\n",
"from ms2rescore.report.charts import (\n",
" calculate_feature_qvalues,\n",
" feature_ecdf_auc_bar,\n",
Expand Down
Loading