ContactEngineering/SurfaceTopography

XYZ reader should not parse file twice

Opened this issue · 1 comments

The XYZ reader currently parses the file twice: Once when constructing the reader (and the channel information) and second when actually reading the data. The second read step is unnecessary and should be avoided.

Note that readers should not store the topography data when constructing the channel information to avoid huge memory usage in Topobank. However, files are now only touched in Celery workers such that this problem is alleviated.