Skip to content

Commit

Permalink
Patch is not applied
Browse files Browse the repository at this point in the history
  • Loading branch information
mnishida committed May 16, 2023
1 parent a357716 commit 9b6929e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.0.1"
rev: "v4.4.0"
hooks:
# - id: check-yaml
- id: end-of-file-fixer
Expand All @@ -12,7 +12,7 @@ repos:
# - id: unimport
# args: [--remove, --requirements, --include-star-import]
- repo: https://github.com/pycqa/isort
rev: "5.9.3"
rev: "5.12.0"
hooks:
- id: isort
name: isort (python)
Expand Down
12 changes: 7 additions & 5 deletions docs/notebooks/01_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "9d79d0f0957b739e22ce83622b13faf5fa51320166aa3ff5bb1c643ddfc68e3b"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.10.8 64-bit",
"language": "python",
"name": "python3"
},
Expand All @@ -966,7 +963,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.10.8"
},
"vscode": {
"interpreter": {
"hash": "e7370f93d1d0cde622a1f8e1c04877d8463912d04d973331ad4851f04de6915a"
}
}
},
"nbformat": 4,
Expand Down
10 changes: 5 additions & 5 deletions src/riip/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ def _load_catalog_and_raw_data(self) -> tuple[DataFrame, DataFrame]:
logger.warning("Catalog file not found.")
if not os.path.isfile(os.path.join(self._db_path, "library.yml")):
logger.warning("Cloning Repository...")
repo = git.Repo.clone_from(
_ri_database_repo, self._ri_database, branch="master"
)
repo.git.apply(_ri_database_patch)
# git.Repo.clone_from(
# repo = git.Repo.clone_from(
# _ri_database_repo, self._ri_database, branch="master"
# )
# repo.git.apply(_ri_database_patch)
git.Repo.clone_from(
_ri_database_repo, self._ri_database, branch="master"
)
logger.warning("Done.")
logger.warning("Creating catalog file...")
catalog = self._add_my_db_to_catalog(self._create_catalog())
Expand Down

0 comments on commit 9b6929e

Please sign in to comment.