Closed tsalo closed 8 months ago
In a few places, CuBIDS does subprocess.run(["datalad", command, extras]) instead of datalad.api.<command>(extras). It seems like we could simplify the code a little bit by switching to the Datalad Python API, when possible.
subprocess.run(["datalad", command, extras])
datalad.api.<command>(extras)
we might actually want to go the other direction - the datalad python api is pretty tricky
Ah, I wasn't aware of that. That's good to know.
In a few places, CuBIDS does
subprocess.run(["datalad", command, extras])
instead ofdatalad.api.<command>(extras)
. It seems like we could simplify the code a little bit by switching to the Datalad Python API, when possible.