Ticket #10211 (closed: fixed)
Values from the mantid matrix are copied at the display precision, not the full precision
Reported by: | Nick Draper | Owned by: | Nick Draper |
---|---|---|---|
Priority: | major | Milestone: | Release 3.3 |
Component: | GUI | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Dan Nixon |
Description
If I select some cells/rows/columns in a Workspace2D window, and right click->Copy, and then Paste into Notepad, Excel or wherever, the values are rounded to 6 significant figures!
However, if I right click and "Copy Bin to Table" or "Copy Spectrum to Table", the values in the table have the full double precision (~15 digits) expected. I can then copy those numbers out of the Mantid/QTI table into Excel and the precision is preserved.
Copying the full precision should be the default everywhere.
Highlighted by James Lord
Change History
comment:3 Changed 6 years ago by Nick Draper
To test:
- Load some data, show the mantid matrix
- copy one or more cells, and drop into a text file or excel
- The values should copy ok
- Try that again with high precision values, Use the Scale algorithm to add 0.123456789 to all values for this.
- The Matrix display only shows a set precision, but up to 15 sf of precision should be copied out via the clipboard
comment:4 Changed 6 years ago by Nick Draper
- Status changed from assigned to verify
- Resolution set to fixed
comment:5 Changed 6 years ago by Dan Nixon
- Status changed from verify to verifying
- Tester set to Dan Nixon
comment:6 Changed 6 years ago by Dan Nixon
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/feature/10211_Copy-paste_precision'
Full changeset: 7b821df30979dda044d424c8188253b9c79fdb39
re #10211 copy out of mantid matrix with 15sf precision if required
Changeset: 095adc5dfa535c6b12800c7f9d7914dbb69e9039