Skip to content

Commit c280a88

Browse files
committed
simplify n_finished check
1 parent 188aacc commit c280a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgscatalog.core/src/pgscatalog/core/cli/combine_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def run():
9292
n_finished += 1
9393
good_scores.append(scorefile)
9494

95-
if not n_finished > 0:
95+
if n_finished == 0:
9696
raise ValueError(
9797
"Couldn't process any scoring files. Did they all have non-additive weights?"
9898
)

0 commit comments

Comments
 (0)