From: Karl O. Pinc Date: Thu, 15 Aug 2024 18:55:10 +0000 (-0500) Subject: Fix reporting on bad column names X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=dc6a439a83f875fa49247d7ca86284e73212c646;p=pgwui_upload_core Fix reporting on bad column names --- diff --git a/src/pgwui_upload_core/views/upload.py b/src/pgwui_upload_core/views/upload.py index ee7f81a..39aa3d6 100644 --- a/src/pgwui_upload_core/views/upload.py +++ b/src/pgwui_upload_core/views/upload.py @@ -239,35 +239,6 @@ class BaseTableUploadHandler(TabularFileUploadHandler): markupsafe.escape(qualified_table))) return (schema, table) - def report_bad_cols(self, qualified_table, bad_cols, quotecols): - if quotecols: - detail = ('

The following columns are not in the ({0})' - ' table, or the first line of your file is not' - ' in the expected format and your column names' - ' have merged (all the names appear in a single' - ' list item, below), or the supplied column names' - ' do not match' - " the character case of the table's columns," - ' or you do not have permission to access' - ' the columns: