Skip to content

Commit

Permalink
Linting change
Browse files Browse the repository at this point in the history
  • Loading branch information
wfondrie committed Oct 25, 2023
1 parent 0065f5f commit 4e8f6a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/unit_tests/test_proteins.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Test that our picked protein appraoch is work as we expect."""
import polars as pl
import pytest
from polars.testing import assert_frame_equal

from mokapot import PsmSchema
from mokapot.proteins import Proteins
from polars.testing import assert_series_equal, assert_frame_equal


@pytest.fixture
Expand Down Expand Up @@ -52,7 +52,7 @@ def test_proteins(data, schema):
.with_columns(
pl.col("stripped sequence").cast(pl.Utf8),
pl.col("mokapot protein group").cast(pl.Utf8),
pl.col("# mokapot protein groups").cast(pl.Int64)
pl.col("# mokapot protein groups").cast(pl.Int64),
)
.collect()
)
Expand All @@ -78,6 +78,4 @@ def test_proteins(data, schema):
]

expected = pl.DataFrame(data, schema=cols)
print(picked)
print(expected)
assert_frame_equal(picked, expected)

0 comments on commit 4e8f6a7

Please sign in to comment.