Skip to content

Commit

Permalink
seal5/pass_list.py: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Aug 23, 2024
1 parent 59f80da commit bd048fb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions seal5/pass_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,9 @@ def write_yaml(
log_level: str = "debug",
**_kwargs,
):
if not use_subprocess:
raise NotImplementedError("use_subprocess=False")
del use_subprocess # unused
# if not use_subprocess:
# raise NotImplementedError("use_subprocess=False")
assert inplace
input_file = settings.models_dir / f"{input_model}.seal5model"
assert input_file.is_file(), f"File not found: {input_file}"
Expand Down Expand Up @@ -719,9 +720,10 @@ def write_cdsl(
log_level: str = "debug",
**_kwargs,
):
del use_subprocess # unused
# if not use_subprocess:
# raise NotImplementedError("use_subprocess=False")
assert inplace
if not use_subprocess:
raise NotImplementedError("use_subprocess=False")
input_file = settings.models_dir / f"{input_model}.seal5model"
assert input_file.is_file(), f"File not found: {input_file}"
name = input_file.name
Expand Down

0 comments on commit bd048fb

Please sign in to comment.