Telling Igor to skip an empty data file
Sun, 05/05/2019 - 01:27 pm
I am reading into Igor a directory of delimited text files. They are the result of a web scrape and may be empty, i.e. a 0 KB file. My code gets a list of all of these files and then (in a for-loop) loads the data in each using LoadWave. I get a "no data was found in file" error if there's an empty file in the directory. I searched the help and couldn't figure out how to get Igor to skip empty files. Any tips appreciated!