From 3ddbd0868996ce3e50befd73b66413c25da8b5ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAidan?= <“abeiku17@gmail.com”> Date: Wed, 13 Mar 2024 15:27:47 +0000 Subject: [PATCH] Remove the need for -f flag for filepath --- README.md | 26 +++++++++++++------------- src/actinet/actinet.py | 4 +++- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index eb3bbdb..02bf89d 100644 --- a/README.md +++ b/README.md @@ -38,16 +38,16 @@ You are all set! The next time that you want to use `actinet`, open the Anaconda ```bash # Process an AX3 file -$ actinet -f sample.cwa +$ actinet sample.cwa # Or an ActiGraph file -$ actinet -f sample.gt3x +$ actinet sample.gt3x # Or a GENEActiv file -$ actinet -f sample.bin +$ actinet sample.bin # Or a CSV file (see data format below) -$ actinet -f sample.csv +$ actinet sample.csv ``` ### Troubleshooting @@ -77,7 +77,7 @@ In addition, you can donwload/prepare a custom classifier file. Once this is downloaded to an appopriate location, you can run the actinet model using: ```console -actinet -f sample.cwa -c /path/to/classifier.joblib.lzma -m /path/to/ssl-wearables +actinet sample.cwa -c /path/to/classifier.joblib.lzma -m /path/to/ssl-wearables ``` ### Output files @@ -85,7 +85,7 @@ actinet -f sample.cwa -c /path/to/classifier.joblib.lzma -m /path/to/ssl-wearabl By default, output files will be stored in a folder named after the input file, `outputs/{filename}/`, created in the current working directory. You can change the output path with the `-o` flag: ```console -$ actinet -f sample.cwa -o /path/to/some/folder/ +$ actinet sample.cwa -o /path/to/some/folder/