better handling of extra empty lines in *_counts.txt files
better handling of extra empty lines in *_counts.txt files

Ignore any trailing empty lines. Return an error if there are any non-trailing empty lines, since we can't be sure if these got inserted accidentally or truly correspond to lengthscales where there's no data for some reason (shouldn't happen)

weissmanlab/magic