except ValueError:
// in this way, the "strings" are not placed in the resulting csv
pass
volForEachTime[time] = copy.deepcopy(results)
return volForEachTime
def writeCsv(self,filen):
After Change
_ = float(valueSplit[paramCnt])
if parameter not in volForEachTime:
volForEachTime[parameter] = []
if parameter in volForEachTime and len(volForEachTime["time"]) !=len(volForEachTime[parameter]):
// there might be repetition(same variable with different units)
volForEachTime[parameter].append(float(valueSplit[paramCnt]))
except ValueError: