Skip to content

Commit

Permalink
restore nargs=-1 and add a check
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Aug 16, 2024
1 parent d68f2be commit 4aac0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pineko/cli/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def subcommand(fktable_path, grid_path, max_as, max_al, pdfs, xir, xif):

if len(pdfs) > 2:
raise ValueError(
"Pineko supports the concolution with maximum 2 different PDF sets."
"Pineko supports the convolution with maximum 2 different PDF sets."
)
pdf1 = pdfs[0]
pdf2 = pdfs[1] if len(pdfs) == 2 else None
Expand Down

0 comments on commit 4aac0f8

Please sign in to comment.