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

Issue #134: Add option to options file for displaying absolute value,… #220

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

AndrewLister-STFC
Copy link
Contributor

… relative, or both

Description of Work

Add an option 'comparison_mode' to the options file. This will change the value reported in the results table.
If comparison_mode is:

  • 'abs' : it will report the absolute value from the run (note: the colour will still be relative to the other results)
  • 'rel' : it will function as it did before this change
  • 'both' : it will display the absolute value followed by the relative in parentheses. e.g. 0.001274 (1)

Fixes #134

Testing Instructions

  1. Set 'comparison_mode' in options file
  2. Run example scripts
  3. Check output is as expected

@wathen
Copy link
Collaborator

wathen commented Sep 11, 2019

@AndrewLister-STFC can you change the width of the first column so that it is about the length of the name of the longest data set?
Table

@wathen wathen mentioned this pull request Sep 11, 2019
@wathen wathen merged commit 8223d98 into master Sep 11, 2019
@wathen wathen deleted the 134_abs_rel_option_in_options_file branch September 11, 2019 10:43
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.

Add absolute time column to tables measuring speed
2 participants