Skip to content

Commit

Permalink
Fix order of columns returned by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup committed Apr 9, 2024
1 parent 5d8b6f7 commit 2101f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/genomic_features/ensembl/ensembldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def _get_required_tables(self, tab) -> list:
def list_columns(self, tables: str | list[str] | None = None) -> list[str]:
"""List queryable columns available in these tables."""
if tables is None:
tables = self.db.list_tables() # list of table names
tables = self._tables_by_degree() # list of table names
if "metadata" in tables:
tables.remove("metadata")
elif isinstance(tables, str):
Expand Down

0 comments on commit 2101f0f

Please sign in to comment.