We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 402003a commit d87890bCopy full SHA for d87890b
qiita_db/metadata_template/base_metadata_template.py
@@ -1014,13 +1014,8 @@ def to_dataframe(self):
1014
conn_handler = SQLConnectionHandler()
1015
cols = sorted(get_table_cols(self._table_name(self._id), conn_handler))
1016
# Get all metadata for the template
1017
- sql = """SELECT {0}
1018
- FROM qiita.{1} st
1019
- JOIN qiita.{2} dt USING (sample_id)
1020
- WHERE st.{3} = %s""".format(", ".join(cols),
1021
- self._table,
1022
- self._table_name(self.id),
1023
- self._id_column)
+ sql = "SELECT {0}FROM qiita.{1}".format(", ".join(cols),
+ self._table_name(self.id))
1024
meta = conn_handler.execute_fetchall(sql, (self._id,))
1025
1026
# Create the dataframe and clean it up a bit
0 commit comments