mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: properly ignore measurement scripts during benchmarks
This commit is contained in:
@@ -258,7 +258,7 @@ def main():
|
||||
scripts = list(base.glob("*.py"))
|
||||
|
||||
# Process each script under the base directory
|
||||
for script in filter(lambda script: not str(scripts[0]).endswith("measure.py"), scripts):
|
||||
for script in filter(lambda script: not str(script).endswith("measure.py"), scripts):
|
||||
# Read the script line by line
|
||||
with open(script, "r", encoding="utf-8") as f:
|
||||
lines = f.readlines()
|
||||
|
||||
Reference in New Issue
Block a user