Skip to content

Commit 889b573

Browse files
committed
Addresses review comment
1 parent 89a7952 commit 889b573

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

RATapi/inputs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ def make_problem(project: RATapi.Project) -> ProblemDefinition:
166166
)
167167
if resolution.source == "" and resolution.type != TypeOptions.Data:
168168
raise ValueError(
169-
f"All constant and function resolutions must have a source defined. For a "
170-
f"{resolution.type} type resolution, the source must be defined in "
169+
f"Constant resolutions must have a source defined. The source must be defined in "
171170
f'"{RATapi.project.values_defined_in[f"resolutions.{resolution.type}.source"]}"'
172171
)
173172

0 commit comments

Comments
 (0)