You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to reference a param in config file from a param in another file, e.g.:
p1 = 1
p1.prior = ${ref:val.prior}
this works for uniform but spline requires an additional p1.prior.data = ... spec and this does not work with a Gaussian prior (you have to reference the value itself).
I think the best fix to this (that would also make switching among priors easier esp. when referencing priors from other files) would be to make the entire prior spec into a single line. E.g.:
If you want to reference a param in config file from a param in another file, e.g.:
this works for
uniform
butspline
requires an additionalp1.prior.data = ...
spec and this does not work with a Gaussian prior (you have to reference the value itself).I think the best fix to this (that would also make switching among priors easier esp. when referencing priors from other files) would be to make the entire prior spec into a single line. E.g.:
then in another file, section (or in the same section) you can refer to all priors in a consistent one-line way:
It seems relatively easy to parse such
param
strings out, the biggest difficulty will be converting configs to use this convention.The text was updated successfully, but these errors were encountered: