git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26740
ac1ea38d-2e2b-0410-8846-
a27921b304fc
referenceName = (String) graph.getPossibleRelatedValue(refersTo, l0.HasName);\r
Variable parent = null;\r
parent = v.getParent(graph);\r
- if(parent != null && !graph.isInstanceOf(parent.getRepresents(graph), sr.Configuration)) {\r
+ Resource represents = parent.getRepresents(graph);\r
+ if(parent != null && !graph.isInstanceOf(represents, sr.Configuration) && !graph.isInstanceOf(represents, sr.Experiment_Run)) {\r
moduleName = parent.getName(graph);\r
}\r
break;\r