openep / openep-core

Core OpenEP code - Matlab implementation
Apache License 2.0
9 stars 6 forks source link

Data input failing if there is no point data in a dataset #48

Open drsewilliams opened 2 years ago

drsewilliams commented 2 years ago

When trying to import a geometry in which 0 (zero, none) Carto points have been taken; importcarto_mem fails with the following error:

Accessing: /Volumes/SW_SSD_04/Patient 2021_11_21/Study 1/Export_Study-1-11_25_2021-15-01-32/Study 1 11_25_2021 15-01-32.xml
Unrecognized field name "Point".

Error in importcarto_mem (line 262)
        filename = [filenameroot '_P' num2str(cartoMap.CartoPoints.Point(1).ATTRIBUTE.Id) '_ECG_Export.txt'];