Skip to content

Commit

Permalink
lint: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaezp committed Dec 8, 2024
1 parent b06b01e commit 26c4c78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/system_tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ def mean_score(file):
# instead of just the negated feature??
sorted_df1b = df1b[df1b.Label == 1].sort_values(by="specid")
feature_col1 = sorted_df1b.feat
sorted_psms_df1b= psms_df1b.sort_values(by="PSMId")
sorted_psms_df1b = psms_df1b.sort_values(by="PSMId")
score_col1 = sorted_psms_df1b.score
np.testing.assert_equal(
# Note, stable was introduced in v2.0.0
np.argsort(feature_col1.to_numpy()), # , stable=True),
np.argsort(score_col1.to_numpy()) # , stable=True)
np.argsort(feature_col1.to_numpy()), # , stable=True),
np.argsort(score_col1.to_numpy()), # , stable=True)
)
pd.testing.assert_series_equal(
score_col1, feature_col1, check_index=False, check_names=False
Expand Down

0 comments on commit 26c4c78

Please sign in to comment.