-
Notifications
You must be signed in to change notification settings - Fork 12
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
Global variables in DSC #81
Comments
are these constant variables? so can't be output? |
Yes these are constants. User cases I can think of are typically strings such as file names, paths, computational environment settings (walltime, mem, etc -- though we'll have global defaults in separate config file just like snakemake), or a particularly meaningful choice of sets of parameters that we want to treat as constants. |
i'm good with these. How about |
and |
Agreed! But what is the behavior when there is a conflict (my question 2 above) with pipeline variables? Report an error or warning? I guess an error? If you think the same then we're good to close hte issue. |
yes, I agree, global variables must have different names than pipeline
variables.
…On Tue, May 9, 2017 at 9:10 PM, gaow ***@***.***> wrote:
Agreed!
But what is the behavior when there is a conflict (my question 2 above)
with pipeline variables? Report an error or warning? I guess an error? If
you think the same then we're good to close hte issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABt4xfnoYLdZnLfgtX8qlNZbBckGVCLwks5r4RymgaJpZM4NSZ_f>
.
|
... and can't be outputs from module?
On Wed, May 10, 2017 at 9:36 AM, Matthew Stephens <stephens999@gmail.com>
wrote:
… yes, I agree, global variables must have different names than pipeline
variables.
On Tue, May 9, 2017 at 9:10 PM, gaow ***@***.***> wrote:
> Agreed!
>
> But what is the behavior when there is a conflict (my question 2 above)
> with pipeline variables? Report an error or warning? I guess an error? If
> you think the same then we're good to close hte issue.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#81 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABt4xfnoYLdZnLfgtX8qlNZbBckGVCLwks5r4RymgaJpZM4NSZ_f>
> .
>
|
Yes any pipeline variable will result in a conflict. I'll ensure that's checked for. Closing this issue now. |
In this ticket #70 (comment) I showed the use of DSC global variable:
I've agreed with @stephens999 that we still would use
$
symbol instead of$()
to access it, because it is similar to pipeline variable in scope. However the difference here is that these variables are constants.There are two points to discuss:
path
and computational environment configurations (we've not talked about execution on remote computers eg RCC).The text was updated successfully, but these errors were encountered: