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

Calc Resolution Bug #10939

Closed
OwenArnold opened this issue Aug 12, 2014 · 2 comments
Closed

Calc Resolution Bug #10939

OwenArnold opened this issue Aug 12, 2014 · 2 comments
Assignees
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Reflectometry Issues and pull requests related to reflectometry
Milestone

Comments

@OwenArnold
Copy link
Contributor

Not sure how this has happened, but the gui contains a script that prevents it calculating the resolution column dq/q.

I get the following error message due to a type mismatch

  File "/Users/spu92482/Documents/mantid/mantid/Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py", line 1226, in calcRes
    resolution = math.atan((s1vg + s2vg) / (2 * (s2z - s1z))) * 180 / math.pi / th
TypeError: unsupported operand type(s) for /: 'float' and 'str'
  • Open the Relectometry GUI.
  • Change the instrument selection to INTER
  • Load the attached table.
  • Download the INTER runs 13462, 13463 and 13464 from the data archive for INTER. Make sure these workspaces exist in a managed user directory location.
  • Hit process, you'll get the error above.
@OwenArnold
Copy link
Contributor Author

This issue was originally trac ticket 10097

@OwenArnold
Copy link
Contributor Author

@OwenArnold OwenArnold added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Reflectometry Issues and pull requests related to reflectometry labels Jun 3, 2015
@OwenArnold OwenArnold added this to the Release 3.2.1 milestone Jun 3, 2015
OwenArnold added a commit that referenced this issue Nov 26, 2015
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. Reflectometry Issues and pull requests related to reflectometry
Projects
None yet
Development

No branches or pull requests

2 participants