parser.add_argument('--alignlog',help='location of alignlog.txt, default is guessed by run number')
parser.add_argument('--histoFiles',help='location of histograms files, expect two paths, old ad new align histos, default is guessed by run number',nargs=2)
parser.add_argument('--alignlog',help='location of alignlog.txt, default is guessed by run number')
parser.add_argument('--histoFiles',help='location of histograms files, expect two paths, old ad new align histos, default is guessed by run number',nargs=2)
text="No {activity} alignment update needed for fill {Fill}.".format(**locals())
command='elog -h "{host}" -p {port} -l "{logbook}" -u {username} -a "Author={author}" -a "Fill={Fill}" -a "System={activity}" -a "Type={Type}" -a "Status={status}" -a "Subject={subject}" "{text}"'.format(**locals())