Skip to content

Commit

Permalink
__main__
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Apr 8, 2024
1 parent 09f43ae commit 374b6f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cobaya/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ def run_command():
else:
# no command --> assume run with input file as 1st arg (don't pop!)
getattr(import_module("cobaya.run"), "run_script")()


if __name__ == "__main__":
run_command()

0 comments on commit 374b6f3

Please sign in to comment.