Skip to content

Commit

Permalink
fix: ruff linter and docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyThomsonMonash committed Feb 15, 2024
1 parent aa8add2 commit c7e42a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Examples
========
2 changes: 1 addition & 1 deletion map2loop/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def update_from_file(self, filename: str, legacy_format: bool = False, lower: bo
err_string = f"There is a problem parsing the config file ({filename}).\n"
if filename.startswith("http"):
err_string += "Please check the file is accessible online and then\n"
if legacy_format == False:
if not legacy_format:
err_string += "Also check if this is a legacy config file and add clut_file_legacy=True to the Project function\n"
err_string += "Check the contents for mismatched quotes or brackets!"
raise Exception(err_string)

0 comments on commit c7e42a6

Please sign in to comment.