Skip to content

Commit

Permalink
Type fix and expanded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Feb 6, 2023
1 parent 373ab0d commit d409962
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dandi/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ def validate(
# This is pretty awkward, as it turns out, if validation is called once on just the base
# files, the results are somehow cached, and subsequent validation attempts in the same
# BIDS dataset will just return the errors of the first run, which is to say, none.
if df.path in [
# This also won't fix all instances of missed validation, since results seem sensitive
# To the order in which files are presented...
if os.path.basename(str(df.filepath)) in [
"dataset_description.json",
"README",
"README.md",
Expand Down

0 comments on commit d409962

Please sign in to comment.