Functions | |
def | convert_1_adler32_to_0_adler32 (crc, filesize) |
def | enstoreChecksum (fileobj) |
def | fileEnstoreChecksum (path) |
def | get_external_metadata (inputfile) |
Variables | |
myargv = sys.argv | |
argv | |
gErrorIgnoreLevel | |
category | |
RuntimeWarning | |
message | |
Parser = argparse.ArgumentParser\ | |
description | |
help | |
dest | |
default | |
args = Parser.parse_args() | |
md = get_external_metadata(args.InputFile) | |
mdtext = json.dumps(md, indent=2, sort_keys=True) | |
outputFile = open(args.OutputFile, 'w')ifargs.OutputFileelsesys.stdout | |
file | |
def python.root_metadata.convert_1_adler32_to_0_adler32 | ( | crc, | |
filesize | |||
) |
Definition at line 33 of file root_metadata.py.
def python.root_metadata.enstoreChecksum | ( | fileobj | ) |
Definition at line 46 of file root_metadata.py.
def python.root_metadata.fileEnstoreChecksum | ( | path | ) |
Calculate enstore compatible CRC value
Definition at line 63 of file root_metadata.py.
def python.root_metadata.get_external_metadata | ( | inputfile | ) |
Definition at line 116 of file root_metadata.py.
python.root_metadata.args = Parser.parse_args() |
Definition at line 194 of file root_metadata.py.
python.root_metadata.argv |
Definition at line 17 of file root_metadata.py.
python.root_metadata.category |
Definition at line 29 of file root_metadata.py.
python.root_metadata.default |
Definition at line 190 of file root_metadata.py.
python.root_metadata.description |
Definition at line 187 of file root_metadata.py.
python.root_metadata.dest |
Definition at line 190 of file root_metadata.py.
python.root_metadata.file |
Definition at line 200 of file root_metadata.py.
python.root_metadata.gErrorIgnoreLevel |
Definition at line 23 of file root_metadata.py.
python.root_metadata.help |
Definition at line 189 of file root_metadata.py.
python.root_metadata.md = get_external_metadata(args.InputFile) |
Definition at line 196 of file root_metadata.py.
python.root_metadata.mdtext = json.dumps(md, indent=2, sort_keys=True) |
Definition at line 197 of file root_metadata.py.
python.root_metadata.message |
Definition at line 29 of file root_metadata.py.
python.root_metadata.myargv = sys.argv |
Definition at line 16 of file root_metadata.py.
python.root_metadata.outputFile = open(args.OutputFile, 'w')ifargs.OutputFileelsesys.stdout |
Definition at line 199 of file root_metadata.py.
python.root_metadata.Parser = argparse.ArgumentParser\ |
Definition at line 186 of file root_metadata.py.
python.root_metadata.RuntimeWarning |
Definition at line 29 of file root_metadata.py.