Ejemplo n.º 1
0
def setHeader(a, headerdict):
    """
Attach an MRC header to the array.
	"""
    weakattr.set(a, "mrcheader", headerdict)
Ejemplo n.º 2
0
def setCachedStats(a, stats):
	try:
		a.stats = stats
	except AttributeError:
		weakattr.set(a, 'stats', stats)
Ejemplo n.º 3
0
def setHeader(a, headerdict):
	'''
Attach an MRC header to the array.
	'''
	weakattr.set(a, 'mrcheader', headerdict)
def setCachedStats(a, stats):
	try:
		a.stats = stats
	except AttributeError:
		weakattr.set(a, 'stats', stats)