Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

venv folder is present in .gitignore but not in skipped folders (folders_to_skip) #457

Open
chourroutm opened this issue Jul 26, 2024 · 0 comments

Comments

@chourroutm
Copy link
Contributor

As venv folder is present in .gitignore but not in skipped folders (folders_to_skip), I get this error:

Traceback (most recent call last):
  File "D:\User\bids-xpct-example\tools\print_dataset_listing.py", line 163, in <module>
    main()
  File "D:\User\bids-xpct-example\tools\print_dataset_listing.py", line 56, in main
    check_missing_folders(df, root)
  File "D:\User\bids-xpct-example\tools\print_dataset_listing.py", line 75, in check_missing_folders
    raise ValueError(
ValueError: Found 77 folders but 76 datasets in the table:missing {'venv'} folders

It can be fixed by changing

folders_to_skip = ["docs", ".git", ".github", "tools", "env", "site"]
to:

folders_to_skip = ["docs", ".git", ".github", "tools", "env", "venv", "site"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant