Merge Stocks: error handling
commit1f0a631be8743d3d2350b5ef0e4a032ea063b5de
authorDavid Waring <djw64@cornell.edu>
Wed, 26 Apr 2023 19:44:20 +0000 (26 15:44 -0400)
committerDavid Waring <djw64@cornell.edu>
Wed, 26 Apr 2023 19:44:25 +0000 (26 15:44 -0400)
tree4d14f13a0b4140903f7f1c486a7681cf35a649b3
parentf66e42f5892bab37d82eae2a0950d25e125623c1
Merge Stocks: error handling
CXGN::Stock - return an error string from the merge function when a check doesn't pass (when the parents don't match)
merge_stock.pl - if an error string is returned from the merge function, skip processing the stock to not add it to the list of stocks to delete
merge_stock.pl - at the end of the script, print a warning message with all of the stocks that were not merged
bin/merge_stocks.pl
lib/CXGN/Stock.pm