Fix sum file behaviour for vesuvio diffraction#18927
Merged
Merged
Conversation
Contributor
|
The example works as expected but entering a range of runs in the form |
Member
Author
|
Thanks, @louisemccann. That should be fixed now. |
Contributor
|
Input as a range and comma separated list work as expected. |
Member
|
At some point consider refactoring It seems to me that IntArrayProperty will do the work for you, so you don't need to loop over pieces of the input string arrayprint(IntArrayProperty("array_generator","1-4, 7-11").value.tolist()) yields [1, 2, 3, 4, 7, 8, 9, 10, 11]
|
Member
Author
|
Good point. That would be much easier. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of work.
To test:
Requires access to the ISIS archive.
The following scripts provides a basis for testing. When
SumFiles=Truethere should be a group output with a single reduced workspace. WhenSumFiles=Falsethere should be a workspace per input run.No issue number
Does not need to be in the release notes.
Reviewer
Please comment on the following (full description):
Code Review
Functional Tests
Do changes function as described? Add comments below that describe the tests performed?
How do the changes handle unexpected situations, e.g. bad input?
Has the relevant documentation been added/updated?
Is user-facing documentation written in a user-friendly manner?
Has developer documentation been updated if required?
Does everything look good? Comment with the ship it emoji but don't merge. A member of
@mantidproject/gatekeeperswill take care of it.