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

DM-29007: Lazy command line creation. #34

Merged
merged 1 commit into from Jun 30, 2021
Merged

Conversation

MichelleGower
Copy link
Collaborator

Postpone creation of command line to the plugin. Added special GenericWorkflowJob cmdline syntax placeholders ENV:name and FILE:name as these are easier to distinguish from the other normal f-string placeholders.

default = None
if "default" in opt:
default = opt["default"]
opt["default"] = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

If temporarily removing default from opt would also work, you may consider replacing lines 265-268 with default = opt.pop("default, None).

Environment variable specification inside jobs is WMS dependent.
Also, file paths vary based upon which machines are sent the
jobs by the WMS and where the WMS stages some files.  Thus
these variable expansions/replacements are best left to the
WMS plugin.

Polish code changes.
* Updated quick start guide with pipetask command line changes.
* Fixed BpsConfig unit test that changes had broken.
* Finished/fixed some docstrings.
* Made some more quotations marks consistent (single vs double).

Update code per review.
* Change multiple lines with single call to pop().
@MichelleGower MichelleGower merged commit 217a9cb into master Jun 30, 2021
@MichelleGower MichelleGower deleted the tickets/DM-29007 branch June 30, 2021 01:02
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.

None yet

2 participants