Skip to content

Commit

Permalink
revert warning filtering in validation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Sep 9, 2024
1 parent e0389e5 commit c491760
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ def get_namespaces(nwbfile):
if comp.returncode != 0:
return []

output_lines = comp.stdout.split('\n')
filtered_output = [line for line in output_lines if not re.search(r'warning', line, re.IGNORECASE) and line != '']
return filtered_output
return comp.stdout.split()

namespaces = get_namespaces(nwb)

Expand Down

0 comments on commit c491760

Please sign in to comment.