We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1843ac1 commit d0765deCopy full SHA for d0765de
src/systems/analysis_points.jl
@@ -348,7 +348,12 @@ function modify_nested_subsystem(
348
end
349
# ignore the name of the root
350
if nameof(root) != hierarchy[1]
351
- error("The name of the root system $(nameof(root)) must be included in the name passed to `modify_nested_subsystem`")
+ error("""
352
+ Invalid analysis point name `$(join(hierarchy, NAMESPACE_SEPARATOR))`. The name
353
+ must include the name of the root system `$(nameof(root))`. This typically happens
354
+ when using an analysis point obtained by calling `getproperty` on a system marked
355
+ as `complete` to linearize a system that is not marked as `complete`.
356
+ """)
357
358
hierarchy = @view hierarchy[2:end]
359
0 commit comments