HISTORY certifyProducts

VERSION	DATE		DESCRIPTION
1.0	2004-08-12	created from scratch
1.0.1  	2004-09-23	dateplus1 included in package
1.1	2004-11-30	optional FAILURE_CALL and DELETE_CALL
1.1.2	2004-12-14	option added to enter comment for failed ABs; bug fixed with NIGHTREPORT
1.1.3	2005-02-14	bug fixed with non-existing vcalib_list; xterm configurable
1.2	2005-02-16	additional option to remove/not remove product names from vcalib_list
1.2.1	2005-04-05	bug fixed with NOTES files
1.2.2	2005-04-25	copying NOTES files into $DFO_SCI_DIR/monitor
1.3	2005-12-21	jump to another product enabled; tlogs introduced
1.3.1	2006-01-19	security improved if jumped: confirmation required to exit
1.4	2006-03-10	compatible with createAB v2.x
1.4.1	2006-03-21	bug fixed with removal of rejected products
1.4.2	2006-04-03	introducing XTERM_GEOM_NIGHT
1.4.3	2006-05-03	introducing MONITOR_UPDATE
1.4.4	2006-05-15	removing dfosLog; replacing mjd2date by qcdate
1.4.5	2006-09-05	check for existence of vcalibs before attempting to remove them 
1.4.6	2006-10-09	bug fix: DFO_STATUS set only when exiting
1.5	2006-10-26	supports createNightLog
1.6	2007-05-24	supports changes in getStatusAB and scoreQC
1.6.1	2007-09-12	Better discrimination of RAW_TYPEs with very similar names; auto-display of scoreQC reports for NOT_OK ABs [JP]
1.7	2008-05-27	option to insert raw file comments in case of failure or rejection; support for non-zero score alerts
2.0	2008-06-17	supports score-based certification
2.0.1	2008-07-30	RB section not evaluated anymore
2.1	2009-01-26	option to enter product file comments
2.1.1	2009-01-29	bug fixed with duplicated comments in TLOG file
2.1.2	2009-03-13	improved handling of 0/0 scores
2.1.3	2009-05-25	default for comment ingestion is 'y'
2.1.4	2009-05-26	option to enter prod comments even if pipeline failed
2.2	2009-10-23	pipeline failures: handling like usual certification/rejection; nightlog refreshed
2.2.1	2009-12-17	fix a bug with failed SCIENCE ABs
2.2.2	2010-03-15	fix a bug in line 545
2.3	2010-04-14	raw+product comments symmetric; ingestion for both at the end; option to enter bulk comments with enterCommentsBulk; NOTES in data packages no longer managed here but in updateDP
2.3.1	2010-04-29	call getStatusAB -a ... -e for AUTO certification
2.4	2010-05-11	extract product comments into $DFO_LOG_DIR//.cmt files for inclusion in ANC files (2010-05-11)
2.4.1	2010-07-27	change wording from 'SM package' to 'data package'
2.4.2	2011-04-21	replace EDITOR by $DFO_EDITOR
2.4.3	2011-05-02	line 634: support line editing syntax for emacs
2.4.4	2011-05-04	NIGHT_EDITOR forced to 'vi' due to performance issues with emacs
2.5	2011-05-11	new option -L for incremental proc; no certif_Flag, to be used from dfoMonitor only
2.5.1	2011-05-25	bug with flags and comments fixed
2.5.2	2011-10-04	new internal option -A: override configured CERTIF_MODE and set to ALL
2.5.3	2011-11-03	bug fix in line 1552: close nightlog window
2.5.4	2011-11-18	bug fix for infinit loops for NONZERO 
2.6	2012-03-08	calls checkConsist at the begin
2.7	2012-10-04	enabled for NLT tool 
2.7.1	2012-10-10	support for internal comments added
2.7.2	2012-11-22	turned off createNightLog
2.8	2012-12-17	improved rejection workflow: hideFrame, BADQUAL, QC1 parameters hiding; prepared for AB tab mechanism
2.8.1	2013-01-09	getStatusAB -e not needed anymore
2.9	2013-05-13	streamlined workflow for case of pipeline failure; for certifyPLight: no deletion of fits files
2.9.1	2013-05-31	minor improvement in 'ingestComments' (line :655)
2.10	2013-09-17	mandatory comments for ylw/red/no scores, and rejected products; case NoProducts removed
2.11	2013-10-11	checks for already existing comments 
2.12 	2014-04-28	checkConsist obsolete, $PRINTER obsolete (remove from $DFO_CONFIG_DIR)
2.12.1	2014-11-16	also call the CAL4CAL BADQUAL dialogue if needed
2.12.2	2015-07-13	unconditional final call of getStatusAB
2.12.3	2015-09-22	bug fix related to NR pop-up 
2.12.4	2016-02-21	bug fix for updateTab
2.12.5	2016-08-09	calling rawdisp2reference for incremental update [BWo]
2.12.6	2017-07-24	check for NLT_APPLICABLE removed
2.12.7	2021-09-30	skip ABs for products that have already been rejected, make checkCommentExist consistent with actual comment extraction [BWo]
2.12.8	2021-10-20	check for existing comments is not any longer sensitive to raw file name vs. product name [BWo]