From aeca621ca678e6af8cf554d85eb54ad565d73ce0 Mon Sep 17 00:00:00 2001 From: marcotag93 Date: Wed, 3 Jun 2026 16:10:19 +0200 Subject: [PATCH] BF: CLI passes Tractome() args by keyword. - Positional binding misrouted --mesh, --mesh_texture, --t1 after the Tractome.__init__ parameter reorder. - Pass tractogram/t1/mesh/mesh_texture/roi/parcel by keyword. --- tractome/cli.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tractome/cli.py b/tractome/cli.py index b70fc35..b48891a 100644 --- a/tractome/cli.py +++ b/tractome/cli.py @@ -51,7 +51,14 @@ def tractome( parcel : str, optional Path to a parcel CSV file """ - tractome = Tractome(tractogram, mesh, mesh_texture, t1, roi, parcel) + tractome = Tractome( + tractogram=tractogram, + t1=t1, + mesh=mesh, + mesh_texture=mesh_texture, + roi=roi, + parcel=parcel, + ) tractome.start()