CMS 3D CMS Logo

Variables

compareJSON Namespace Reference

Variables

tuple alphaList = LumiList(filename = args[0])
tuple betaList = LumiList(filename = args[1])
tuple cmdGroup = optparse.OptionGroup(parser, "Command Options ")
string const = 'and'
 firstOnly = alphaList-betaList
 Diff Command ##.
string help = '"and" (i.e., take intersection) of two files'
 outputList = alphaList&betaList
 All other commands ##.
tuple parser = optparse.OptionParser("Usage: %prog --command [--options] alpha.json beta.json [output.json]")
 secondOnly = betaList-alphaList

Variable Documentation

tuple compareJSON::alphaList = LumiList(filename = args[0])

Definition at line 32 of file compareJSON.py.

tuple compareJSON::betaList = LumiList(filename = args[1])

Definition at line 33 of file compareJSON.py.

tuple compareJSON::cmdGroup = optparse.OptionGroup(parser, "Command Options ")

Definition at line 12 of file compareJSON.py.

string compareJSON::const = 'and'

Diff Command ##.

Definition at line 41 of file compareJSON.py.

string compareJSON::help = '"and" (i.e., take intersection) of two files'

Definition at line 15 of file compareJSON.py.

All other commands ##.

Definition at line 62 of file compareJSON.py.

tuple compareJSON::parser = optparse.OptionParser("Usage: %prog --command [--options] alpha.json beta.json [output.json]")

Definition at line 10 of file compareJSON.py.

Definition at line 42 of file compareJSON.py.