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

split on filenames not very robust #27

Open
falkben opened this issue Jun 4, 2021 · 0 comments
Open

split on filenames not very robust #27

falkben opened this issue Jun 4, 2021 · 0 comments

Comments

@falkben
Copy link
Member

falkben commented Jun 4, 2021

used in a lot of places in the pipeline.

for example: https://github.com/spacetelescope/DRESSCode/blob/main/uvotimsum.py#L175

if ll is present anywhere in the galaxy name or pathname anywhere it will split on the wrong part.

ran into this as I had made the galaxy name NGC0628_small and it split on the directory name instead of the all part of the filename

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