|
[yoda-svn] yoda: Add a convenience yoda2yoda script. Deprecate flat2yoda s...YODA Mercurial yoda at projects.hepforge.orgTue Jul 19 21:30:01 BST 2016
details: https://yoda.hepforge.org/hg/yoda/rev/5c0ee21355a6 branches: release-1-6 changeset: 1280:5c0ee21355a6 user: Andy Buckley <andy at insectnation.org> date: Tue Jul 19 21:25:26 2016 +0100 description: Add a convenience yoda2yoda script. Deprecate flat2yoda script and add warning output to it and the AIDA conversion scripts. diffs (truncated from 102 to 50 lines): --- a/ChangeLog Thu Jul 14 10:56:51 2016 +0100 +++ b/ChangeLog Tue Jul 19 21:25:26 2016 +0100 @@ -1,3 +1,9 @@ +2016-07-19 Andy Buckley <andy.buckley at cern.ch> + + * Deprecate flat2yoda script and add warning output to it and the AIDA conversion scripts. + + * Add a convenience yoda2yoda script. + 2016-07-14 Andy Buckley <andy.buckley at cern.ch> * Try to build PyROOT interface by default, if root-config is found. --- a/bin/Makefile.am Thu Jul 14 10:56:51 2016 +0100 +++ b/bin/Makefile.am Tue Jul 19 21:25:26 2016 +0100 @@ -12,7 +12,11 @@ dist_bin_SCRIPTS += yodacmp yodaplot ## Data format conversion -dist_bin_SCRIPTS += yodacnv yoda2aida yoda2flat aida2yoda aida2flat flat2yoda +dist_bin_SCRIPTS += yodacnv yoda2yoda yoda2flat +## Deprecated scripts +dist_bin_SCRIPTS += yoda2aida aida2yoda +## Uber-deprecated scripts +dist_bin_SCRIPTS += aida2flat flat2yoda if ENABLE_ROOT dist_bin_SCRIPTS += yoda2root root2yoda endif --- a/bin/aida2flat Thu Jul 14 10:56:51 2016 +0100 +++ b/bin/aida2flat Tue Jul 19 21:25:26 2016 +0100 @@ -5,7 +5,8 @@ Convert an AIDA data file to a 'flat', human-readable data format. -DEPRECATED SCRIPT -- IT WILL DIE WHEN AIDA DOES! +WARNING: aida2flat is DEPRECATED +It will die when AIDA does! Which is *soon*... """ import yoda, os, sys, optparse @@ -17,6 +18,8 @@ parser.add_option("-M", "--unmatch", dest="UNMATCH", metavar="PATT", default=None, help="Exclude histograms whose path matches this regex") +sys.stderr.write("WARNING: aida2flat is DEPRECATED.\n It will die when AIDA does... *soon*\n" + opts, args = parser.parse_args() in_out = parse_x2y_args(args, ".aida", ".dat") if not in_out: --- a/bin/aida2yoda Thu Jul 14 10:56:51 2016 +0100 +++ b/bin/aida2yoda Tue Jul 19 21:25:26 2016 +0100
More information about the yoda-svn mailing list |