quinngroup / ornet-reu-2021

OrNet REU summer 2021.
MIT License
0 stars 0 forks source link

Implement a command-line interface for the anomaly detection code #4

Open magsol opened 3 years ago

magsol commented 3 years ago

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

waltermoisesavila commented 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.'