Skip to content

Commit

Permalink
feat: making scripts run via their shortcut commands
Browse files Browse the repository at this point in the history
  • Loading branch information
beckynevin committed Oct 22, 2024
1 parent 0634e13 commit 49bd646
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Empty file removed __init__.py
Empty file.
6 changes: 5 additions & 1 deletion src/scripts/DeepEnsemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def beta_type(value):
)


if __name__ == "__main__":
def main():
"""Main execution script for the DeepEnsemble pipeline.
This script performs the following steps:
Expand Down Expand Up @@ -555,3 +555,7 @@ def beta_type(value):
size_df=size_df,
verbose=verbose,
)


if __name__ == "__main__":
main()
6 changes: 5 additions & 1 deletion src/scripts/DeepEvidentialRegression.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def parse_args():
return config


if __name__ == "__main__":
def main():
"""Main execution script for the DeepEvidentialRegression pipeline.
This script performs the following steps:
Expand Down Expand Up @@ -496,3 +496,7 @@ def parse_args():
size_df=size_df,
verbose=config.get_item("model", "verbose", "DER"),
)


if __name__ == "__main__":
main()

0 comments on commit 49bd646

Please sign in to comment.