-
Notifications
You must be signed in to change notification settings - Fork 4
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
docs: explain how to mask envvars #27
Conversation
📝 WalkthroughWalkthroughThe documentation for Snakemake CLI flags has been updated to provide clearer guidance on the use of local storage prefixes for remote jobs. Specifically, the example for the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Snakemake
participant RemoteJob
User->>Snakemake: Start Snakemake with CLI flags
Snakemake->>RemoteJob: Passes remote-job-local-storage-prefix
RemoteJob->>RemoteJob: Expands \$JOBID in remote context
RemoteJob-->>Snakemake: Executes job with local storage prefix
Snakemake-->>User: Job execution complete
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
docs/further.md (1)
34-34
: Fix grammar in the explanationThe explanation is valuable, but there's a grammatical error in the sentence.
-Here, in case a used variable can only expanded within the remote job, make sure to mask the expansion upon starting Snakemake by preceeding the variable declaration with a backslash (\$JOBID). +Here, in case a used variable can only be expanded within the remote job, make sure to mask the expansion upon starting Snakemake by preceeding the variable declaration with a backslash (\$JOBID).🧰 Tools
🪛 LanguageTool
[grammar] ~34-~34: Did you mean “be expanded”?
Context: ... Here, in case a used variable can only expanded within the remote job, make sure to mas...(WILL_BASED_ON)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
docs/further.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/further.md
[grammar] ~34-~34: Did you mean “be expanded”?
Context: ... Here, in case a used variable can only expanded within the remote job, make sure to mas...
(WILL_BASED_ON)
🔇 Additional comments (2)
docs/further.md (2)
26-26
: LGTM! Clear example of variable escaping
The example correctly demonstrates how to escape the $JOBID
variable in the configuration, which is consistent with the documentation's purpose.
26-35
: Well-structured documentation enhancement
The combination of the practical example and the explanatory note effectively communicates how to handle environment variables in remote jobs. The changes are well-integrated with the existing documentation and provide clear guidance to users.
🧰 Tools
🪛 LanguageTool
[grammar] ~34-~34: Did you mean “be expanded”?
Context: ... Here, in case a used variable can only expanded within the remote job, make sure to mas...
(WILL_BASED_ON)
Closing in favor of snakemake/snakemake#3222 |
fixes #22
Summary by CodeRabbit
$JOBID
variable.