spatialtopology / spacetop-prep

code for transferring data and preprocessing
MIT License
0 stars 3 forks source link

[ENH] exclude participants via argparse #37

Closed jungheejung closed 1 year ago

jungheejung commented 1 year ago

Which module are you suggesting enhancements?

physio

Is your feature request related to a problem? Please describe:

A way of excluding participants is hard-coded in the script. This is not idealhttps://github.com/spatialtopology/spacetop-prep/blob/7221ad0c7ce4515062a7663b90ccaefd514222c8/spacetop_prep/physio/c02_save_separate_run.py#L103

What solution would you like to see?

Need a way to allow for arguments I'm not sure if we can input a list to python argparse via bash scripts.

Have you considered any other alternatives? If so, please describe:

NA

Additional context

This might be useful https://stackoverflow.com/questions/15753701/how-can-i-pass-a-list-as-a-command-line-argument-with-argparse