Skip to content

Commit

Permalink
Remove even more string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SeppeDeWinter authored Feb 23, 2024
1 parent 23ec8b8 commit c6591ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pycistarget/motif_enrichment_dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def get_log2_fc(fg_mat, bg_mat):
"""

if fg_mat.shape[0] != bg_mat.shape[0]:
_ERROR_MESSAGE = "Foreground matrix and background matrix have a different first dimension:"
_ERROR_MESSAGE += "\n" + str(fg_mat.shape[0]) + " vs " + str(bg_mat.shape[0])
_ERROR_MESSAGE = "Foreground matrix and background matrix have a different first dimensions!"
raise ValueError(_ERROR_MESSAGE)

# Calculate log2 fold change between foreground and background matrix with numba in
Expand Down

0 comments on commit c6591ca

Please sign in to comment.