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

--output allowed to be an empty string #1118

Open
ijiraq opened this issue Nov 20, 2024 · 1 comment
Open

--output allowed to be an empty string #1118

ijiraq opened this issue Nov 20, 2024 · 1 comment

Comments

@ijiraq
Copy link

ijiraq commented Nov 20, 2024

I ran a batch of processing and set --output " (i.e., the empty string). This placed the output in a TIME based run collection in my butler directory. Shouldn't passing an empty string as --output raise an error?

e.g. pipetask run -b BUTLER -p pipeline.yaml -i u/me/in --ouput ""

output of pipeline.yaml is now in BUTLER/20241120T023747Z

This sort of works but, rerunning with --skip-existing-in "" doesn't make pipetask very happy. The butler lists "" as a CHAINED collection and has no trouble, but something in the skip logic fails.

Empty string as an allowed value for --output feels wrong.

@timj
Copy link
Member

timj commented Nov 20, 2024

Thanks. I think you are the first person to notice this. It's not intentional.

I've made a Jira ticket for this at DM-47726.

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

2 participants