DP_GP_cluster icon indicating copy to clipboard operation
DP_GP_cluster copied to clipboard

ValueError: need at least one array to concatenate

Open cartal opened this issue 6 years ago • 3 comments

Hi,

I'm running DP_GP_cluster with 19 samples and ~ 8000 genes. This has worked in the past, although it took a long time. However, this time I get the following error:

screen shot 2018-06-04 at 09 48 25

Any ideas of what I may be doing wrong?

cartal avatar Jun 04 '18 08:06 cartal

I had the same error when all gene values in a row were 0 and also when all gene values in a row where the same (i.e. variance was 0). Once I removed those rows, the error went away.

annashcherbina avatar Jul 08 '18 01:07 annashcherbina

Sorry to add to a years-old thread, but I'm receiving the same error message under what seems to be slightly different circumstances, and wondered if anyone could offer suggestions. I'm running DP_GP_cluster on two datasets, each with six timepoints and ~20,000 genes. If any NA values are present, I receive the above error, and it works fine if I remove all NAs from the input. As a test I substitited a single value in the 'no NAs' subset with NA, and once again I received the above error. As the main page for DP_GP_cluster says that it can handle missing values, I wondered if the problem is with my setup. The versions of the relevant software on my system are:

  • DP_GP_cluster - v0.1
  • Python - v2.7.16
  • GPy - v1.9.9
  • pandas - v0.24.2
  • numpy - v1.16.4
  • scipy - v1.2.3
  • matplotlib - v2.2.3

MattPinder avatar Nov 17 '21 09:11 MattPinder

I had a similar error with a matrix with blank space instead of tab separation. Tab separated file fixed error.

dstern avatar Aug 03 '22 12:08 dstern