Commit summary from repository starlink
------------------------------------
(David Berry) ndg: Add extra debug info in for "duplicate parents" error message.
100.0% libraries/ndg/
(David Berry) ndg: Fix management of ProvId value
100.0% libraries/ndg/
Commits from repository starlink
-----------------------------
commit 98629bc4263bd3a1257ef50916222198e245cf21
Author: David Berry <[log in to unmask]>
Date: Mon Jun 21 11:24:19 2010 +0100
ndg: Add extra debug info in for "duplicate parents" error message.
Sarah Graves says that ORAC-DR is issuing messages about input NDFs being
included twice within the provenance of an output NDF, but with different
sets of parents. It's tricky to debug within ORAC-DR, so I have made NDG
create an error log file when this error is reported, containing verbose
information about the state of NDG at the time. Hopefully this will allow
me to work out why this error is being reported.
The error log file is ~/ndg.log
I need to remember to remove (or disable) this when "the case is solv-ed".
libraries/ndg/ndg_provenance.c | 156 +++++++++++++++++++++++++++++++++++++-
1 files changed, 153 insertions(+), 3 deletions(-)
commit 035862c17dab1519c62481d483cb62589c665538
Author: David Berry <[log in to unmask]>
Date: Mon Jun 21 11:17:15 2010 +0100
ndg: Fix management of ProvId value
1) Fix failure to store provenenace identity in memory. This means that
the ProvId value no longer needs to be recalculated from scratch each
time is is accessed.
2) Indicate the provenance identify needs to be recalculated when the
list of parents within a Prov structure is changed.
I'm not convinced that these fixes have anything to do with the problem
reported by Sarah Graves (the "duplicate ancestors have difference
parents" error).
libraries/ndg/ndg_provenance.c | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
|