Skip to content

plot3d error when neuronlist has no names #371

@jefferis

Description

@jefferis
> nn=nlapply(1:2, function(x) kcs20[[x]])
> plot3d(nn)
 Show Traceback
 
 Rerun with Debug
 Error in `$<-.data.frame`(`*tmp*`, col, value = c("#FF0000FF", "#00FFFFFF" : 
  replacement has 2 rows, data has 0 

We should probably always make sure that a neuronlist does have names but in the meantime, we can make sure that as.data.frame constructs a slightly more sensible data.frame in their absence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions