Skip to content

Commit

Permalink
debugging import
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 a92d051 commit c56baed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check_if_new_model_added.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ jobs:
git status
# generate catalog if models directory has changed
ls -la
echo $new_dirs
echo $removed_dirs
if [ -n "$new_dirs" ] || [ -n "$removed_dirs" ]; then
python documentation/catalogs/generate_model_catalog.py
echo "Model catalog is updated."
else
echo "No new or removed folders detected."
fi
working-directory: ./views_pipeline

- name: Configure Git
run: |
Expand Down
4 changes: 2 additions & 2 deletions documentation/catalogs/generate_model_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
sys.path.insert(0, str(PATH_ROOT))

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

from model_path import ModelPath
print(sys.path)
from common_utils.model_path import ModelPath

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

Expand Down

0 comments on commit c56baed

Please sign in to comment.