- Omit
--matlab-dir since it is located inside Python script directory
- Use
os.path.abspath(os.path.dirname(__file__)) inside each Python script to obtain the --matlab-dir
(scroll to far right)
dplocate/dplocate0-read/parse_gps_mc.py --phoenix-dir dplocate-phoenix --study BWH --consent-dir dplocate-phoenix/GENERAL/ --matlab-dir dplocate/dplocate0-read/ &&
dplocate/dplocate1-preprocess/preprocess_gps_mc.py --phoenix-dir dplocate-phoenix --study BWH --consent-dir dplocate-phoenix/GENERAL/ --matlab-dir dplocate/dplocate1-preprocess/ &&
dplocate/dplocate2-process/process_gps_mc.py --phoenix-dir dplocate-phoenix --study BWH --consent-dir dplocate-phoenix/GENERAL/ --matlab-dir dplocate/dplocate2-process/ &&
dplocate/dplocate3-aggregate/aggregate_gps_mc.py --phoenix-dir dplocate-phoenix --study BWH --consent-dir dplocate-phoenix/GENERAL/ --matlab-dir dplocate/dplocate3-aggregate/ &&
dplocate/dplocate4-plot/phone_gps_mc.py --phoenix-dir dplocate-phoenix --study BWH --consent-dir dplocate-phoenix/GENERAL/ --matlab-dir dplocate/dplocate4-plot/
Hi @hre80 , what do you think?
--matlab-dirsince it is located inside Python script directoryos.path.abspath(os.path.dirname(__file__))inside each Python script to obtain the--matlab-dir(scroll to far right)
Hi @hre80 , what do you think?