Only use the calculated length if NELM was NOT provided during record creation #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #37
This PR is what I think the minimum fix is for the linked issue - it allows setting both
initial_value
andNELM
during waveform record creation such that both keywords are respected.It does not currently attempt to do anything regarding the "duplicate"
length
vsNELM
orvalue
vsinitial_value
keyword arguments. Using "mixed pairs" of Python and EPICS keywords will not work in all cases. Please let me know what, if anything, I should do with that.A single test is written to cover the one case I originally identified - depending on the outcome of discussion I can write more, as appropriate.