PuffinPlot issue tracker

Bug: a88/05d

ID : 05d520e7-d600-4c4a-9c3c-0e769cb13f3e
Short name : a88/05d
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Mon, 12 Nov 2012 21:59:47 +0000
Target : 1.03
Summary : Cleared PCA calculations reappear [257]

Comment: --------- Comment ---------
ID: e306c080-c7af-47c0-8654-c6c159220199
Short name: a88/05d/e30
From: Pontus Lurcock <pont@talvi.net>
Date: Mon, 12 Nov 2012 21:59:47 +0000

Reported by JMG. Steps to reproduce:
1. Run PuffinPlot build c2aee2f02f33
2. Open supplied example file LONG-CORE.DAT
3. Select first 5 points at depth 0.00
4. Calculate PCA
5. Clear sample calculations
6. Select first 5 points again
7. Fit great circle
8. Save as a new file, temp.ppl
9. Close file
10. Open recent file temp.ppl

Expected behaviour: great circle fit shown, no PCA fit shown.
Actual behaviour: great circle fit and cleared PCA fit shown.

Comment: --------- Comment ---------
ID: 1845f7ef-0a9b-43fc-b1d0-fe158d3212d2
Short name: a88/05d/184
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 06 Feb 2013 11:13:42 +0000

Turned out to be a one-line fix: adding a Datum.setInPca(false)
to Sample.clearCalculations().