Skip to content
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

Fetching properties from non mandatory workspace #9745

Closed
OwenArnold opened this issue Feb 6, 2014 · 1 comment
Closed

Fetching properties from non mandatory workspace #9745

OwenArnold opened this issue Feb 6, 2014 · 1 comment
Assignees
Labels
Framework Issues and pull requests related to components in the Framework High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@OwenArnold
Copy link
Contributor

Causes ReflectometryReductionOneAuto algorithm to fall over.

Try this

#!python
workspace_name = "POLREF4699"
workspace_nexus_file = workspace_name + ".nxs"
Load(workspace_nexus_file, OutputWorkspace=workspace_name)
ReflectometryReductionOneAuto(OutputWorkspace="Out", CorrectDetectorPositions=False, InputWorkspace=mtd[workspace_name][0], AnalysisMode='MultiDetectorAnalysis', ThetaIn=0.6, OutputWorkspaceWavelength='y')

Fails because NoneType has no getNumberHistograms()

This is because it's trying to use the transmission runs, which are not mandatory.

@OwenArnold
Copy link
Contributor Author

This issue was originally trac ticket 8902

@OwenArnold OwenArnold added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Framework Issues and pull requests related to components in the Framework labels Jun 3, 2015
@OwenArnold OwenArnold self-assigned this Jun 3, 2015
@OwenArnold OwenArnold added this to the Release 3.1 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant