Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions process/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,12 +594,14 @@ def validate_input(self, replace_obsolete: bool = False):
else:
# If replacement is False, add the line as-is
modified_lines.append(line)
variables_in_in_dat.append(variable_name)
else:
modified_lines.append(line)

obs_vars_in_in_dat = [
var for var in variables_in_in_dat if var in obsolete_variables
]

if obs_vars_in_in_dat:
if replace_obsolete:
# If replace_obsolete is True, write the modified content to the file
Expand Down
Loading