Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 2, 2024
1 parent d6dec67 commit 8eaebe3
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/_templates/custom-class-template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% endblock %}
2 changes: 1 addition & 1 deletion docs/_templates/custom-module-template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% endblock %}
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ API Documentation
:template: custom-module-template.rst
:recursive:

missense_kinase_toolkit
missense_kinase_toolkit
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,4 @@
__ https://github.com/choderalab/missense-kinase-toolkit/tree/main/
""" +
r"{{ docpath }}"
)
)
8 changes: 4 additions & 4 deletions src/missense_kinase_toolkit/cbioportal.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ def __init__(self):

def _set_api_key(self):
"""Set API key for cBioPortal API.
Returns
-------
RequestsClient
RequestsClient object with API key set
"""
token = config.maybe_get_cbioportal_token()
http_client = RequestsClient()
Expand Down Expand Up @@ -99,7 +99,7 @@ def __init__(
----------
study_id : str
cBioPortal study ID
Attributes
----------
study_id : str
Expand Down Expand Up @@ -142,7 +142,7 @@ def get_and_save_cbioportal_cohort_mutations(
self,
) -> None:
"""Get and save cBioPortal cohort mutations to a CSV file.
Notes
----
The CSV file will be saved in the output directory specified in the configuration file.
Expand Down
2 changes: 1 addition & 1 deletion src/missense_kinase_toolkit/io_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ def parse_iterabc2dataframe(
df = pd.DataFrame.from_dict(dict_dir)
df = df[sorted(df.columns.to_list())]

return df
return df
6 changes: 3 additions & 3 deletions src/missense_kinase_toolkit/klifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class KLIFS():
"""Class to interact with the KLIFS API."""
def __init__(self):
"""Initialize KLIFS Class object.
Attributes
----------
url : str
Expand Down Expand Up @@ -66,7 +66,7 @@ def __init__(
Name of the kinase
species : str
Species of the kinase; default "Human" but can also be "Mouse"
Attributes
----------
kinase_name : str
Expand All @@ -86,7 +86,7 @@ def get_kinase_info(
self
) -> dict[str, str | int | None]:
"""Get information about a kinase from KLIFS.
Returns
-------
dict[str, str | int | None]
Expand Down
2 changes: 1 addition & 1 deletion src/missense_kinase_toolkit/scrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def kinhub(
-------
pd.DataFrame
DataFrame of kinase information
"""
from bs4 import BeautifulSoup
import numpy as np
Expand Down

0 comments on commit 8eaebe3

Please sign in to comment.