-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix sum file behaviour for vesuvio diffraction #18927
Merged
Merged
Conversation
This file contains 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
martyngigg
added
Indirect/Inelastic
Issues and pull requests related to indirect or inelastic
Patch Candidate
Urgent issues that must be included in a patch following a release
labels
Feb 20, 2017
The example works as expected but entering a range of runs in the form
|
Thanks, @louisemccann. That should be fixed now. |
Input as a range and comma separated list work as expected. once all tests pass |
martyngigg
added
the
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
label
Feb 22, 2017
At some point consider refactoring Lines 202 to 207 in 410ce37
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]
|
Good point. That would be much easier. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
Indirect/Inelastic
Issues and pull requests related to indirect or inelastic
Patch Candidate
Urgent issues that must be included in a patch following a release
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=True
there should be a group output with a single reduced workspace. WhenSumFiles=False
there 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/gatekeepers
will take care of it.