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)
Exemple #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)