Skip to content

Commit

Permalink
Drop attributes is not None check
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 1, 2024
1 parent 65cebb8 commit 6a6aad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tool_util/verify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_filename(filename: str) -> str:

# Check assertions...
assertions = attributes.get("assert_list", None)
if attributes is not None and assertions is not None:
if assertions is not None:
try:
verify_assertions(output_content, attributes["assert_list"], attributes.get("decompress"))
except AssertionError as err:
Expand Down

0 comments on commit 6a6aad2

Please sign in to comment.