Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beam number format change to :2d #95

Closed
tjgalvin opened this issue Apr 30, 2024 · 2 comments
Closed

Beam number format change to :2d #95

tjgalvin opened this issue Apr 30, 2024 · 2 comments

Comments

@tjgalvin
Copy link
Owner

In most instances the filename of output MSs (and images) is of the form:

SB1234.FIELD_NAME.beam1.ms

This is a little annoying when attempting to map a beam number of a sorted list of such names to its position, especially when trying to find items in the prefect UI. We should put beam as a f"{beam_no}:02d" formatted string, and ensure that we are also treating these as strings throughout the code. As far as I recall that is the case, but would need to be sure -- and update the tests around naming.

@tjgalvin
Copy link
Owner Author

Addressing this in beamno branch. It seems to have worked by updating the format in the create ms name function within flint.naming.

@tjgalvin
Copy link
Owner Author

Closed by #117

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

No branches or pull requests

1 participant