# Creating OpenEP files

**URL:** <https://openep.discourse.group/t/creating-openep-files/122>\
**Category:** Uncategorized\
**Created:** [15 May 2024 10:36 UTC](https://openep.discourse.group/t/creating-openep-files/122 "2024-05-15T10:36:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbodagh](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@nbodagh](https://openep.discourse.group/u/nbodagh)\
**Post date:** [15 May 2024 10:36 UTC](https://openep.discourse.group/t/creating-openep-files/122/1 "2024-05-15T10:36:36Z")

</div>

Index in position 1 is invalid. Array indices must be positive integers or logical values.` `Error in read\_electrodePositionsOnAnnotation (line 110)  
fileName = connectorFilenames{idx,2};` `Error in importcarto\_mem (line 504)  
[map.xyz2(iPoint,:),~,xyzAll] = read\_electrodePositionsOnAnnotation(electrodeNames\_uni{iPoint,2}, pointFileName);

Hi, I’m getting this error message when trying to create an OpenEP file for an LA map. I’ve been able to create the RA map for this case but not the LA one. Any ideas on how to resolve it?
