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 7075a7c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions dandi/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def validate_bids(
dandiset_path = _get_set_path(path, "dandiset.yaml")
our_validation_result.append(
ValidationResult(
dataset_path=dataset_path,
dandiset_path=dandiset_path,
origin=origin,
severity=Severity.ERROR,
# For schema-integrated error code discussion, see:
Expand All @@ -113,9 +111,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 +127,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 +137,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 7075a7c

Please sign in to comment.