edited parser for DC sweep