Hi everyone, I've been running single spectrum searches with MASST, and in some cases I keep getting this error:
Traceback (most recent call last):
File "/data/ccms-gnps/tools/search_single_spectrum/release_28/foodomics_track.py", line 64, in <module>
main()
File "/data/ccms-gnps/tools/search_single_spectrum/release_28/foodomics_track.py", line 56, in main
matches_df = pd.read_csv(args.matches_results, sep="\t")
File "/data/ccms-gnps/tools/anaconda3/lib/python3.5/site-packages/pandas/io/parsers.py", line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File "/data/ccms-gnps/tools/anaconda3/lib/python3.5/site-packages/pandas/io/parsers.py", line 449, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/data/ccms-gnps/tools/anaconda3/lib/python3.5/site-packages/pandas/io/parsers.py", line 818, in __init__
self._make_engine(self.engine)
File "/data/ccms-gnps/tools/anaconda3/lib/python3.5/site-packages/pandas/io/parsers.py", line 1049, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/data/ccms-gnps/tools/anaconda3/lib/python3.5/site-packages/pandas/io/parsers.py", line 1695, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 565, in pandas._libs.parsers.TextReader.__cinit__
pandas.errors.EmptyDataError: No columns to parse from file
Tool execution terminates abnormally with exit code [1]
I've checked thoroughly the input of the data to make sure I'm not introducing any errors, but that doesn't seem to be the problem.
Any advice on how to solve it would be greatly appreciated.
Thanks,
Daniel