Skip to content

Unexpected column title causes problems in filters #107

@rpgoldman

Description

@rpgoldman

I have a pandas data table that is full of flow cytometry data -- this is data from a piece of cell biology measurement equipment. It has columns with different optical channels for each unit. The optical channels' names are all of this pattern 'XXX-Y', for example 'BL1-A'.
This causes problems with the query processing, because of two things:

  1. the query interpreter misinterprets BL1-A as BL1 minus A
  2. there is no feedback to the user to indicate a problem. I see the following in the shell (I started running DataExplore as python3 -m pandastable/main.py):
pandas.core.computation.ops.UndefinedVariableError: name 'BL1' is not defined

but if you are not looking at a terminal window, you won't see this.

I can enter this using the widgets, so I guess that's the work-around. But it would be nice to see the errors in interpreting the string. If I can figure it out, I'll try to make a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions