Skip to content

Commit

Permalink
adding possibility for fake mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianmordig committed Aug 22, 2023
1 parent 1e72124 commit 216875e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ru/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def load_config_toml(filepath, validate=True):
# Check reference path
reference_text = toml_dict.get("conditions", {}).get("reference", "")
reference_path = Path(reference_text)
if not reference_path.is_file() and reference_text:
if not reference_path.is_file() and (reference_text and reference_text != "fake_mapper"):
raise FileNotFoundError(
"Reference file not found at '{}'".format(reference_path)
)
Expand Down

0 comments on commit 216875e

Please sign in to comment.