Skip to content

Commit

Permalink
added a function that checks the output argument provided to the prog…
Browse files Browse the repository at this point in the history
…ram to see if it was valid. This change had to be made because the out variable in the parser wasn't behaving right. This needs to be fixed in the future
  • Loading branch information
jtb324 committed Aug 28, 2024
1 parent 6a0da0d commit 1bf5582
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ldsc/munge_sumstats/check_munge_args.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from typing import Any


def check_munge_args(args: list[Any]) -> None:
if args.out is None:
raise ValueError("No output was specified")

0 comments on commit 1bf5582

Please sign in to comment.