Open magsol opened 3 years ago
I first implemented a command-line interface for my explained variance code here: https://github.com/quinngroup/ornet-reu-2021/blob/main/Explained%20Variance/explained_variance_code_v2.py
Doing so was a good exercise in learning how to use 'argparse.'
argparse
is a beautiful framework and built-in Python package for setting up a command-line interface for running scripts. Implementing this will make it much, much easier for other people to run the code without having to modify it.https://docs.python.org/3/library/argparse.html