diff --git a/pyceps/datatypes/study.py b/pyceps/datatypes/study.py index e46b9d5..2d540d5 100644 --- a/pyceps/datatypes/study.py +++ b/pyceps/datatypes/study.py @@ -386,6 +386,7 @@ def save(self, filepath=''): points = ET.SubElement(proc, 'Points', count=str(len(cmap.points)) ) + # export data from EPPoint baseclass only for key in list(EPPoint('dummy', parent=cmap).__dict__): if key == 'parent': # don't save this diff --git a/pyceps/fileio/cartoutils.py b/pyceps/fileio/cartoutils.py index c798163..cb752b6 100644 --- a/pyceps/fileio/cartoutils.py +++ b/pyceps/fileio/cartoutils.py @@ -526,7 +526,6 @@ def read_force_file(fid, encoding='cp1252'): 't_lateralAngle': np.empty(0), 'systemTime': np.empty(0)} - # read file version version = fid.readline().decode(encoding=encoding).rstrip() if not version.lower().endswith('contactforce.txt_2.0'):