raiseException("[extract_category]: expected points to have int, got {0} instead".format(pointstr))
elifautonumbering:
# use the generated one if we're in the right mode
points=cur_points
cur_points=cur_points+1
else:
raiseException("[extract_category]: missing points attribute. Cannot continue to auto-create points values after a points value is explicitly dfined.")