Skip to content

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

Open
@chourroutm

Description

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"]

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions