(generalvclamp.py) error checking in slope command