RitataLU / MethylC-analyzer

GNU General Public License v3.0
11 stars 4 forks source link

Pandas error running GUI #9

Open questcof opened 10 months ago

questcof commented 10 months ago

Hello there,

Firstly thank you for sharing this pipeline!

Secondly, I am getting an error that I hope you can help me with.

When running the GUI (python scripts/gui.py), after uploading the samples_list.txt file and the GTF file, I select the PCA analysis option and then "Start Analysis" but I am met with an error:

Traceback (most recent call last): File "scripts/gui.py", line 401, in run input_gene=pd.read_csv(w.label3.text(),sep='\t',header=None) File "/Users/smith13/miniconda3/envs/python2/lib/python2.7/site-packages/pandas/io/parsers.py", line 702, in parser_f return _read(filepath_or_buffer, kwds) File "/Users/smith13/miniconda3/envs/python2/lib/python2.7/site-packages/pandas/io/parsers.py", line 435, in _read data = parser.read(nrows) File "/Users/smith13/miniconda3/envs/python2/lib/python2.7/site-packages/pandas/io/parsers.py", line 1139, in read ret = self._engine.read(nrows) File "/Users/smith13/miniconda3/envs/python2/lib/python2.7/site-packages/pandas/io/parsers.py", line 1995, in read data = self._reader.read(nrows) File "pandas/_libs/parsers.pyx", line 899, in pandas._libs.parsers.TextReader.read File "pandas/_libs/parsers.pyx", line 914, in pandas._libs.parsers.TextReader._read_low_memory File "pandas/_libs/parsers.pyx", line 968, in pandas._libs.parsers.TextReader._read_rows File "pandas/_libs/parsers.pyx", line 955, in pandas._libs.parsers.TextReader._tokenize_rows File "pandas/_libs/parsers.pyx", line 2172, in pandas._libs.parsers.raise_parser_error pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 6, saw 9 Aborted (core dumped)

Any idea where I am going wrong?

Many thanks in advance!