Skip to content

Commit

Permalink
added todo for create naming class
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalvin committed Dec 10, 2024
1 parent 7a64878 commit e45db52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flint/naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e45db52

Please sign in to comment.