Samplers only attached to first occurrence of element in beamline
Issue #47
resolved
In case a sampler is attached to a beam line element and that element is use more than once in a line, then output will only be from the first occurrence of that element in the sequence.
Comments (5)
-
reporter -
reporter I propose the following: if no index is specified a sampler is added to all instances of the element.
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
fixed with commit 9dfbb4d
-
reporter fix issue
#47: add samplers to all instances of element if no range is specified→ <<cset 9dfbb4da4169>>
- Log in to comment
This is actually by design. One can add samplers before each reused element like this:
If no index is specified, the sampler is added at first occurence (index=1)