Open yarikoptic opened 3 years ago
Might be worth aiming right away for BIDS datasets - information from _scans.tsv an possibly side car .json files (on duration).
Script (ideally in python) should take
P2M1S
. note: isodurations does not take this value - wants a date! odd)ms
is enoughexample:
reprostim-slice --buffer-before 10 --buffer-after 10 --start 2024-02-02T17:30:00 --duration P3M --input $VIDEOS/2024.02.02.17.20.38.680_2024.02.02.17.20.44.774.mkv --output $BIDS/sub-01/func/sub-01_task-rest_bold.mkv
in case of input filename not satisfying the pattern to have starting time -- error
@jwodder -- please provide guidance on the python project template to start with, or tools to use. I would expect you to provide review of this work in the future.
@yarikoptic
please provide guidance on the python project template to start with, or tools to use
What kind of guidance? Most decisions about Python project tooling are ultimately opinion-based, as there is no One True Packaging Tool.