Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnexpected 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. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

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-AasBL1minusApython3 -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.