Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jan 26, 2024
1 parent e86889b commit f349160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biocframe/BiocFrame.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def get_column(self, column: Union[str, int]) -> Any:

return self._data[self._column_names[column]]
elif isinstance(column, str):
if column not in self.assays:
if column not in self._column_names:
raise AttributeError(f"Column: {column} does not exist.")

return self._data[column]
Expand Down

0 comments on commit f349160

Please sign in to comment.