Mercurial > repos > goeckslab > image_learner
diff image_learner_cli.py @ 20:64872c48a21f draft
planemo upload for repository https://github.com/goeckslab/gleam.git commit d4b122527a2402e43512f9b4bda00c7bff0ec9e9
| author | goeckslab |
|---|---|
| date | Tue, 06 Jan 2026 15:35:11 +0000 |
| parents | bbf30253c99f |
| children | d5c582cf74bc |
line wrap: on
line diff
--- a/image_learner_cli.py Thu Dec 18 16:59:58 2025 +0000 +++ b/image_learner_cli.py Tue Jan 06 15:35:11 2026 +0000 @@ -163,6 +163,15 @@ default=None, help="Name of the image column in the metadata file (defaults to 'image_path').", ) + parser.add_argument( + "--sample-id-column", + type=str, + default=None, + help=( + "Optional column name used to group samples during splitting " + "to prevent data leakage (e.g., patient_id or slide_id)." + ), + ) args = parser.parse_args()
