Hi, I have an issue with filtering using the Filter tool in the sense that the first line is considered invalid and I think it has to do with the automatic guessing of column types. The condition is like: c4 !='XXX' The value of c4 for the first line is 'NA' When the paster.log is checked one can see that the last argument for filtering.py are the column types: "str,str,int,int,int ". As you can see for whatever reason, the system thinks c4 is an int, it should be 'str'. Indeed, most values for that field look like numbers but they should be treated as string types.
In an attempt to override the guessing, a custom tabular type was defined in lib/galaxy/datatypes/tabular.py as such: class CloneAdminTable( Tabular ): """ Tabular format Clone Administration """ column_names = ['Name', 'SeqInAlignment', 'Family', 'Animal/library', 'NR Cluster'] column_types = ['str','str','int','str','int'] def display_peek( self, dataset ): """Returns formated html of peek""" return Tabular.make_html_table( self, dataset, column_names=self.column_names ) But that seems not to help very much; the system still guesses the column types. Any idea how to solve this ? Thanks and regards, Marc ________________________________________ THIS E-MAIL MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE. If the reader of this E-mail message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately at abl...@ablynx.com. Thank you for your co-operation. "NANOBODY" and "NANOCLONE" are registered trademarks of Ablynx N.V. ________________________________________
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/