Skip to content

Commit

Permalink
Merge pull request #92 from MannLabs/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
jalew188 authored Feb 17, 2023
2 parents ab53b1c + f13c91b commit f30d57f
Show file tree
Hide file tree
Showing 38 changed files with 532 additions and 1,649 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.1
current_version = 1.0.2
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Follow the changelog format from https://keepachangelog.com/en/1.0.0/.

## 1.0.2

### Added

- Enable `speclib_tsv` for transfer learning in CLI and GUI.

## 1.0.1 - 2023.01.20

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
copyright = '2022, Mann Labs, MPIB'
author = 'Mann Labs, MPIB'

release = "1.0.1"
release = "1.0.2"

# -- General configuration ---------------------------------------------------

Expand Down
275 changes: 151 additions & 124 deletions nbdev_nbs/pipeline_api.ipynb

Large diffs are not rendered by default.

987 changes: 0 additions & 987 deletions nbdev_nbs/psm_frag_reader/library_frag_reader.ipynb

This file was deleted.

66 changes: 18 additions & 48 deletions nbdev_nbs/test_ui.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,55 +11,25 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2022-07-22 09:09:17.053 INFO numexpr.utils: NumExpr defaulting to 8 threads.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2022-07-22 09:09:42> \n",
" \u001b[33m\u001b[1mWarning:\u001b[0m to view this Streamlit app on a browser, run it with the following\n",
" command:\n",
"\n",
" streamlit run /Users/zengwenfeng/opt/anaconda3/lib/python3.8/site-packages/ipykernel_launcher.py [ARGUMENTS]\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"2022-07-22 09:09:42.894 \n",
" \u001b[33m\u001b[1mWarning:\u001b[0m to view this Streamlit app on a browser, run it with the following\n",
" command:\n",
"\n",
" streamlit run /Users/zengwenfeng/opt/anaconda3/lib/python3.8/site-packages/ipykernel_launcher.py [ARGUMENTS]\n"
]
}
],
"outputs": [],
"source": [
"import os\n",
"__file__ = os.path.abspath('./test_ui.py')\n",
"import peptdeep.webui.library_ui\n",
"import peptdeep.webui.main_ui\n",
"import peptdeep.webui.model_ui\n",
"import peptdeep.webui.rescore_ui\n",
"import peptdeep.webui.startpage\n",
"import peptdeep.webui.transfer_ui\n",
"import peptdeep.webui.settings_ui\n",
"# import peptdeep.webui.server_ui\n",
"# import os\n",
"# __file__ = os.path.abspath('./test_ui.py')\n",
"# import peptdeep.webui.library_ui\n",
"# import peptdeep.webui.main_ui\n",
"# import peptdeep.webui.model_ui\n",
"# import peptdeep.webui.rescore_ui\n",
"# import peptdeep.webui.startpage\n",
"# import peptdeep.webui.transfer_ui\n",
"# import peptdeep.webui.settings_ui\n",
"# # import peptdeep.webui.server_ui\n",
"\n",
"peptdeep.webui.library_ui.show()\n",
"peptdeep.webui.model_ui.show()\n",
"peptdeep.webui.rescore_ui.show()\n",
"peptdeep.webui.transfer_ui.show()\n",
"peptdeep.webui.settings_ui.show()\n",
"# peptdeep.webui.server_ui.show()"
"# peptdeep.webui.library_ui.show()\n",
"# peptdeep.webui.model_ui.show()\n",
"# peptdeep.webui.rescore_ui.show()\n",
"# peptdeep.webui.transfer_ui.show()\n",
"# peptdeep.webui.settings_ui.show()\n",
"# # peptdeep.webui.server_ui.show()"
]
},
{
Expand All @@ -72,7 +42,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.3 ('base')",
"display_name": "base",
"language": "python",
"name": "python3"
}
Expand Down
42 changes: 12 additions & 30 deletions nbdev_nbs/utils.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
" 'device': 'cuda'},\n",
" 'cuda': {'is_available': <function torch.cuda.is_available() -> bool>,\n",
" 'device': 'cuda'},\n",
" 'mps': {'is_available': <function __main__._is_mps_available() -> bool>,\n",
" 'mps': {'is_available': <function peptdeep.utils._is_mps_available() -> bool>,\n",
" 'device': 'mps'},\n",
" 'm1': {'is_available': <function __main__._is_mps_available() -> bool>,\n",
" 'm1': {'is_available': <function peptdeep.utils._is_mps_available() -> bool>,\n",
" 'device': 'mps'}}"
]
},
Expand All @@ -90,40 +90,22 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<AxesSubplot:xlabel='rt_pred', ylabel='rt_norm'>"
]
},
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAEICAYAAAC3Y/QeAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Il7ecAAAACXBIWXMAAAsTAAALEwEAmpwYAAAn2UlEQVR4nO3dd3Rc5bnv8e9jFduyhC0Xmo0xceg1RJfQk0AAUwKEFiD04hCbZsI99+Scc9dZJ3dlnZxzCGAgOJhOcEIxhBBIIIEQCDUudDDFVBsbjOUiybaK9d4/nhnvGWlGGtka7Sm/z1pZtt7Ze/RGiX6z/e5nP6+FEBARkfIyKO4JiIjIwFP4i4iUIYW/iEgZUviLiJQhhb+ISBlS+IuIlKHKfL65md0GHAN8EULYLTE2ErgXmAB8BJwSQljR0/uMHj06TJgwIZ9TFREpOfPmzfsyhDAm02uWzzp/MzsYaAbuSgn//wYaQwg/N7N/BupDCP+np/dpaGgIc+fOzds8RURKkZnNCyE0ZHotr8s+IYRngMYuw8cBdyb+fidwfD7nICIi3cWx5r9FCGFJ4u9LgS1imIOISFm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Ay8Gjihu8X/Tx/kZyopbNIHyT2Rn4khLBb3HMR2RS68hcRKUO68hfJwMxGAU9meOnQEMLygZ6PSH9T+IuIlCEt+4iIlCGFv4hIGVL4i4iUIYW/iEgZUviLiJSh/w9tYK98oxr6HwAAAABJRU5ErkJggg==",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"#| hide\n",
"df = pd.DataFrame({'rt_norm':np.arange(10), 'rt_pred':np.arange(10)+np.random.normal(0,0.3,10)})\n",
"evaluate_linear_regression_plot(df)"
"from peptdeep.utils import parse_ms_file_names_to_dict\n",
"\n",
"d = parse_ms_file_names_to_dict([\n",
" 'a.raw', 'b.ms_data.hdf','c_HCDFT.mgf'\n",
"])\n",
"assert 'a' in d\n",
"assert 'b' in d\n",
"assert 'c' in d"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.3 ('base')",
"display_name": "base",
"language": "python",
"name": "python3"
}
Expand Down
3 changes: 0 additions & 3 deletions nbs/README.md

This file was deleted.

File renamed without changes.
3 changes: 2 additions & 1 deletion nbs_tests/test_multi_target.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
" ModelInterface_for_Generic_AASeq_Regression,\n",
")\n",
"import torch\n",
"import numpy as np\n",
"\n",
"class ModelInterface_MultiTarget(ModelInterface_for_Generic_AASeq_BinaryClassification):\n",
" def __init__(self):\n",
Expand All @@ -45,7 +46,7 @@
"\n",
" def _get_targets_from_batch_df(self, batch_df, **kwargs):\n",
" return self._as_tensor(\n",
" list(batch_df[self.target_column_to_train].values), \n",
" np.stack(batch_df[self.target_column_to_train].values), \n",
" dtype=torch.float32\n",
" )\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions peptdeep/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
pass

__project__ = "peptdeep"
__version__ = "1.0.1"
__version__ = "1.0.2"
__license__ = "Apache 2.0"
__description__ = "The AlphaX Deep (PeptDeep) Learning Platform for Proteomics"
__description__ = "The AlphaX deep learning framework for Proteomics"
__author__ = "Mann Labs"
__author_email__ = "[email protected]"
__github__ = "https://github.com/MannLabs/peptdeep"
Expand Down
Loading

0 comments on commit f30d57f

Please sign in to comment.