Skip to content

Commit

Permalink
except uses triple quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Mar 26, 2024
1 parent f80888b commit 10b6a33
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions autolens/analysis/analysis/dataset.py
Original file line number Diff line number Diff line change
@@ -132,14 +132,16 @@ def raise_exceptions(self, model):
]
):
raise exc.AnalysisException(
"You have begun a model-fit which reconstructs the source using a pixelization.\n\n"
"However, you have not input a `positions_likelihood` object.\n\n"
"It is likely your model-fit will infer an inaccurate solution.\n\n "
""
"Please read the following readthedocs page for a description of why this is, and how to set up"
"a positions likelihood object:\n\n"
""
"https://pyautolens.readthedocs.io/en/latest/general/demagnified_solutions.html"
"""
You have begun a model-fit which reconstructs the source using a pixelization.
However, you have not input a `positions_likelihood` object.
It is likely your model-fit will infer an inaccurate solution.
Please read the following readthedocs page for a description of why this is, and how to set up
a positions likelihood object:
https://pyautolens.readthedocs.io/en/latest/general/demagnified_solutions.html
"""
)

@property

0 comments on commit 10b6a33

Please sign in to comment.