Skip to content

Commit

Permalink
generate_model_catalog.py debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Borbála Farkas authored and Borbála Farkas committed Oct 28, 2024
1 parent 372f5a0 commit 4c72fa2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions documentation/catalogs/generate_model_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,16 @@

import sys
from pathlib import Path
PATH = Path(__file__)
print(sys.path, "1")
PATH_ROOT = Path(
*[i for i in PATH.parts[:PATH.parts.index("views_pipeline") + 1]])
PATH = Path(__file__).resolve()
PATH_ROOT = PATH.parent.parent.parent

sys.path.insert(0, str(PATH_ROOT))
print(sys.path, "2")
sys.path.insert(0, str(PATH_ROOT/"common_utils"))


print(sys.path, "3")
from ...model_path import ModelPath
from model_path import ModelPath

GITHUB_URL = 'https://github.com/prio-data/views_pipeline/blob/main/'

Expand Down

0 comments on commit 4c72fa2

Please sign in to comment.