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

Sample Logs should store units, besides value #743

Merged
merged 8 commits into from
Sep 8, 2020
Merged

Conversation

jmborr
Copy link
Member

@jmborr jmborr commented Sep 7, 2020

Work done:

  • added units attribute to sample logs
  • Hydraworkspace can transfer units to the sample logs
  • NeXusConvertingApp can transfer log units to SampleLogs
  • HydraWorkspace can save log units to the project file
  • HydraWorkspace can read log units from the project file
  • SampleLogs.get_pointlist creates point lists in units of mili-meters

Refs #629

@jmborr jmborr changed the title Refs #629 added units attribute to sample logs Sample Logs should store units, besides value Sep 7, 2020
Copy link
Member

@peterfpeterson peterfpeterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor comments

pyrs/core/nexus_conversion.py Show resolved Hide resolved
pyrs/core/nexus_conversion.py Show resolved Hide resolved
pyrs/dataobjects/sample_logs.py Show resolved Hide resolved
pyrs/dataobjects/sample_logs.py Show resolved Hide resolved
pyrs/projectfile/file_object.py Show resolved Hide resolved
tests/integration/test_reduction.py Show resolved Hide resolved
@peterfpeterson peterfpeterson merged commit 6f51a50 into next Sep 8, 2020
@peterfpeterson peterfpeterson deleted the 629_logs_units branch September 8, 2020 16:33
@peterfpeterson
Copy link
Member

Fixes #629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants