Skip to content

Commit

Permalink
updated util to deal with the idea if someone is using an old config …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
ntalluri committed Sep 5, 2023
1 parent bb55ee0 commit 7aed4ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ def process_config(config):
# Do not parse the rest of the parameters for this algorithm if it is not included
continue

if "directed" in cur_params:
print("UPDATE: we no longer use the directed key in the config file")
cur_params.pop("directed")

# The algorithm has no named arguments so create a default placeholder
if len(cur_params) == 0:
cur_params["run1"] = {"spras_placeholder": ["no parameters"]}
Expand Down

0 comments on commit 7aed4ee

Please sign in to comment.