diff --git a/README.md b/README.md index 703bd1b..7314731 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,13 @@ Full license text in LICENSE file # optical-regeneration -This repo has about 7.5GB of datasets in it. The download will take a while. +## Notes on cloning: + +- This repo has about 7.5GB of datasets in it. The download will take a while. +- `pypho` is added as a submodule -> `--recurse-submodules` ```bash -git clone https://git.suuppl.dev/seppl/optical-regeneration.git +git clone --recurse-submodules https://git.suuppl.dev/seppl/optical-regeneration.git ``` ## License diff --git a/src/single-core-regen/_path_fix.py b/src/single-core-regen/_path_fix.py index 74aadb1..b155f84 100644 --- a/src/single-core-regen/_path_fix.py +++ b/src/single-core-regen/_path_fix.py @@ -5,5 +5,5 @@ from pathlib import Path parent_dir = Path(__file__).parent while not (parent_dir / "pypho" / "pypho").exists() and parent_dir != Path("/"): parent_dir = parent_dir.parent -print(f"Adding '{parent_dir / "pypho"}' to 'sys.path' to enable import of '{parent_dir / 'pypho'}'") +print(f"Adding '{parent_dir / "pypho"}' to 'sys.path' to enable import of '{parent_dir / 'pypho' / 'pypho'}'") sys.path.append(str(parent_dir / "pypho"))