Skip to content

Commit

Permalink
removed comment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Sep 7, 2022
1 parent cbcaedb commit 2841f9a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dandi/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ def validate_bids(
message="File does not match any pattern known to BIDS.",
# TODO - discover dandiset or actually BIDS dataset
# might want separate the two
# dandiset_path="TODO", # might contain multiple datasets
# dataset_path="TODO", # BIDS dataset in this case
# asset_paths: Optional[list[str]] = None
dataset_path=dataset_path,
dandiset_path=dandiset_path,
)
)

Expand All @@ -129,7 +129,6 @@ def validate_bids(
# dataset_path = _get_dataset_path(path, paths)
our_validation_result.append(
ValidationResult(
#dataset_path=dataset_path,
origin=origin,
severity=Severity.ERROR,
# For schema-integrated error code discussion, see:
Expand All @@ -140,9 +139,9 @@ def validate_bids(
message="BIDS-required file is not present.",
# TODO - discover dandiset or actually BIDS dataset
# might want separate the two
# dandiset_path="TODO", # might contain multiple datasets
# dataset_path="TODO", # BIDS dataset in this case
# asset_paths: Optional[list[str]] = None
#dataset_path=dataset_path,
#dandiset_path=dandiset_path,
)
)
return our_validation_result
Expand Down

0 comments on commit 2841f9a

Please sign in to comment.