From e45db5289496e33922918cefc1205e6f9437ced5 Mon Sep 17 00:00:00 2001 From: tgalvin Date: Tue, 10 Dec 2024 11:50:26 +0800 Subject: [PATCH] added todo for create naming class --- flint/naming.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flint/naming.py b/flint/naming.py index 34b831da..5e38dbf6 100644 --- a/flint/naming.py +++ b/flint/naming.py @@ -134,12 +134,16 @@ def create_image_cube_name( output_components = [str(Path(image_prefix))] if mode: + # TODO: Assess what modes are actually allowed. Suggestion is to + # make a class of some sort with specified and known markers that + # are opted into. Hate this "everything and anything" ( output_components.append(mode) if isinstance(mode, str) else output_components.extend(mode) ) if suffix: + # TODO: See above. Need a class of acceptable suffixes to use ( output_components.append(suffix) if isinstance(suffix, str)