Skip to content

Commit

Permalink
run ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
CunliangGeng committed Jun 11, 2024
1 parent dc2ff65 commit c8c3ef4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/nplinker/scoring/iokr/spectrum_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import os
import pickle
import numpy

# import sys
# sys.path.append('/home/grimur/git/lda')
# from lda.code.formula import Formula
Expand Down
7 changes: 6 additions & 1 deletion tests/unit/schemas/test_user_strains_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
# Test schema aginast invalid data
data_no_strain_ids = {"version": "1.0"}
data_empty_strain_ids = {"strain_ids": [], "version": "1.0"}
data_invalid_strain_ids = {"strain_ids": [1, ], "version": "1.0"}
data_invalid_strain_ids = {
"strain_ids": [
1,
],
"version": "1.0",
}
data_empty_version = {"strain_ids": ["strain1", "strain2"], "version": ""}
data_invalid_version = {"strain_ids": ["strain1", "strain2"], "version": "1.0.0"}

Expand Down

0 comments on commit c8c3ef4

Please sign in to comment.