Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Version 0.7.0 - 0.7.1
## Version 0.7.0 - 0.7.2

- Major update to type hints throughout the module for better type safety and consistency.
- Fixed bug in slice operations where column indices might be incorrectly initialized.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ python_requires = >=3.9
# For more information, check out https://semver.org/.
install_requires =
importlib-metadata; python_version<"3.8"
biocutils>=0.3.1
biocutils>=0.3.3
numpy

[options.packages.find]
Expand Down
4 changes: 0 additions & 4 deletions src/biocframe/frame.py → src/biocframe/BiocFrame.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,10 +713,6 @@ def get_column(self, column: Union[str, int]) -> Any:

def column(self, column: Union[str, int]) -> Any:
"""Alias for :py:meth:`~get_column`, provided for back-compatibility only."""
warn(
"Method 'column' is deprecated, use 'get_column' instead",
DeprecationWarning,
)
return self.get_column(column)

def has_row(self, name: str) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion src/biocframe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
finally:
del version, PackageNotFoundError

from .frame import BiocFrame, relaxed_combine_rows, merge, relaxed_combine_columns
from .BiocFrame import BiocFrame, relaxed_combine_rows, merge, relaxed_combine_columns
from .io import from_pandas
2 changes: 1 addition & 1 deletion src/biocframe/io/from_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if TYPE_CHECKING:
import pandas

from ..frame import BiocFrame
from ..BiocFrame import BiocFrame

__author__ = "jkanche"
__copyright__ = "jkanche"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_methods.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import pytest
import pandas as pd
from biocframe.frame import BiocFrame
from biocframe.BiocFrame import BiocFrame
from biocutils import Factor, Names
import biocutils as ut

Expand Down
2 changes: 1 addition & 1 deletion tests/test_pandas.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import pytest
import pandas as pd
from biocframe.frame import BiocFrame
from biocframe.BiocFrame import BiocFrame
from biocutils import Factor

__author__ = "jkanche"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_readme.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from random import random

from biocframe.frame import BiocFrame
from biocframe.BiocFrame import BiocFrame

__author__ = "jkanche"
__copyright__ = "jkanche"
Expand Down