You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Lead_genes'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2cli/commands.py", line 478, in __call__
results = self._execute_action(
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2cli/commands.py", line 544, in _execute_action
results = action(**arguments)
File "<decorator-gen-810>", line 2, in make_psea_table
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self._callable_executor_(
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 647, in _callable_executor_
outputs = self._callable(scope.ctx, **view_args)
File "/Users/myare-large/Work/F22.047/qiime2/repos/q2-PSEA/q2_PSEA/actions/psea.py", line 80, in make_psea_table
print(f"Lead genes: {table.res2d['Lead_genes']}")
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/pandas/core/frame.py", line 3807, in __getitem__
indexer = self.columns.get_loc(key)
File "/Users/myare-large/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: 'Lead_genes'
Steps to reproduce
With any example data, call ssgsea() and try to access the "Lead_genes" column in one of the ways I described for expected behaviour.
The text was updated successfully, but these errors were encountered:
Setup
I am reporting a problem with GSEApy version, Python version, and operating
system as follows:
Expected behaviour
I should be able to see a the lead genes printed to my console, or in a file if I did something like the following:
Actual behaviour
Python throws a KeyError:
Steps to reproduce
With any example data, call ssgsea() and try to access the "Lead_genes" column in one of the ways I described for expected behaviour.
The text was updated successfully, but these errors were encountered: