Skip to content

Commit

Permalink
fix generate.py
Browse files Browse the repository at this point in the history
define `intarget`
  • Loading branch information
mzuenni authored Feb 12, 2024
1 parent 3496c58 commit 5cc831a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ def __init__(self, problem, generator_config, key, name: str, yaml, parent, list
if yaml is None:
self.inline = True
yaml = dict()
target_infile = problem.path / 'data' / self.path.parent / (self.path.name + '.in')
intarget = self.path.parent / (self.path.name + '.in')
target_infile = problem.path / 'data' / intarget
if not target_infile.exists():
fatal(f'Could not find .in for inline case {intarget}')
self.hash = hash_file(target_infile)
Expand Down

0 comments on commit 5cc831a

Please sign in to comment.