-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected column title causes problems in filters #107
Comments
Yes I just ignore the errors and throw them away which obviously is not that helpful. It would just mean printing the errors in the terminal. I don't think columns with such symbols can be interpreted. You could convert your column names using the tool in dataexplore to replace the -. |
Would it be possible to throw the errors into a pop-up menu? I've never used tkinter, but I have used Tcl+Tk, so if you could point me at code that pops up a modal dialog box, I will submit a merge request that makes these errors visible to the programmer. |
Well for non programmers it could be annoying if a popup appears with every error. I was thinking it might be better to send the stack traces to a log using the logging module: https://realpython.com/python-logging/ |
No, I'm afraid I have never tried. |
Sure you can show me how you do that. It could be best to create a debug mode that you activate and then it creates the popups but it might be a bit too ad hoc. I would prefer something simple to implement. I will look into the logging. It's something I would have done long ago if I had time. |
See #110. Note that this is not ready for merge -- it's just a starting point. But it might be helpful for you, as well as me. |
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:
BL1-A
asBL1
minusA
python3 -m pandastable/main.py
):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.
The text was updated successfully, but these errors were encountered: