Skip to content

Commit

Permalink
fix prefix overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Mar 19, 2024
1 parent 93a74bf commit 00d11c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seal5/pass_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def convert_models(
env: Optional[dict] = None,
verbose: bool = False,
inplace: bool = False,
prefix: Optional[str] = None,
**kwargs,
):
assert not inplace
Expand All @@ -35,6 +36,9 @@ def convert_models(
"info",
# "debug",
]
if prefix:
assert isinstance(prefix, str)
args.extend(["--prefix", prefix])
utils.python(
"-m",
"seal5.transform.converter",
Expand Down

0 comments on commit 00d11c1

Please sign in to comment.