Skip to content

Add Path.mos_target_num method#84

Merged
albireox merged 9 commits intomainfrom
albireox-mos_target_num
Mar 16, 2026
Merged

Add Path.mos_target_num method#84
albireox merged 9 commits intomainfrom
albireox-mos_target_num

Conversation

@albireox
Copy link
Copy Markdown
Member

Adds the @mos_target_num| magic placeholder along with mos_target_num2 and mos_target_num3.

When ftype="fits", returns the suffix -{num}. When ftype="parquet" it returns the empty string. The mos_target_num2andmos_target_num3` return the same prefix but zero-padded with two or three zeros, respectively.

This is meant mainly for the mos_target_XXX paths.

@albireox albireox requested a review from havok2063 March 13, 2026 23:18
Copy link
Copy Markdown
Collaborator

@havok2063 havok2063 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

@albireox albireox merged commit 4d4c674 into main Mar 16, 2026
10 checks passed
@albireox albireox deleted the albireox-mos_target_num branch March 16, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants