Skip to content

Commit

Permalink
better syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCladellas committed Jan 14, 2025
1 parent 9be5852 commit 852d1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feelpp/benchmarking/reframe/config/configSchemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def extractProtocol(self):
@field_validator("name", mode="after")
@classmethod
def checkImage(cls,v,info):
if info.data["protocol"] == "local" and ("{{" not in v or "}}" not in v) :
if info.data["protocol"] == "local" and not ("{{" in v or "}}" in v) :
if not os.path.exists(v):
if info.context and info.context.get("dry_run", False):
print(f"Dry Run: Skipping image check for {v}")
Expand Down

0 comments on commit 852d1de

Please sign in to comment.