BaselAbujamous / clust

Automatic and optimised consensus clustering of one or more heterogeneous datasets
Other
160 stars 35 forks source link

TypeError: Cannot cast array from dtype('O') to dtype('float64') according to the rule 'safe' #46

Closed zebrafish-507 closed 5 years ago

zebrafish-507 commented 5 years ago

Traceback (most recent call last): File "pandas/_libs/parsers.pyx", line 1191, in pandas._libs.parsers.TextReader._convert_tokens TypeError: Cannot cast array from dtype('O') to dtype('float64') according to the rule 'safe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/newlustre/home/longyong/anaconda3/bin/clust", line 12, in sys.exit(main()) File "/newlustre/home/longyong/.local/lib/python3.6/site-packages/clust/main.py", line 103, in main args.cs, args.np, args.optimisation, args.q3s, args.basemethods, args.deterministic) File "/newlustre/home/longyong/.local/lib/python3.6/site-packages/clust/clustpipeline.py", line 86, in clustpipeline returnSkipped=True) File "/newlustre/home/longyong/.local/lib/python3.6/site-packages/clust/scripts/io.py", line 46, in readDatasetsFromDirectory datafilesread = readDataFromFiles(datafileswithpath, delimiter, float, skiprows, skipcolumns, returnSkipped) File "/newlustre/home/longyong/.local/lib/python3.6/site-packages/clust/scripts/io.py", line 205, in readDataFromFiles usecols=range(skipcolumns, ncols), na_filter=data_na_filter, comments=comm) File "/newlustre/home/longyong/.local/lib/python3.6/site-packages/clust/scripts/io.py", line 240, in pdreadcsv_regexdelim delimiter='\t', dtype=dtype, header=-1, skiprows=skiprows, usecols=usecols, na_filter=na_filter, comment=comments).values File "/newlustre/home/longyong/anaconda3/lib/python3.6/site-packages/pandas/io/parsers.py", line 702, in parser_f return _read(filepath_or_buffer, kwds) File "/newlustre/home/longyong/anaconda3/lib/python3.6/site-packages/pandas/io/parsers.py", line 435, in _read data = parser.read(nrows) File "/newlustre/home/longyong/anaconda3/lib/python3.6/site-packages/pandas/io/parsers.py", line 1139, in read ret = self._engine.read(nrows) File "/newlustre/home/longyong/anaconda3/lib/python3.6/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 991, in pandas._libs.parsers.TextReader._read_rows File "pandas/_libs/parsers.pyx", line 1123, in pandas._libs.parsers.TextReader._convert_column_data File "pandas/_libs/parsers.pyx", line 1197, in pandas._libs.parsers.TextReader._convert_tokens ValueError: could not convert string to float: '/newlustre/home/longyong/longyong/zebrafish/lethal/clust'

Can't find file /newlustre/home/longyong/.vnc/mu01:19.pid You'll have to kill the Xvnc process manually