Research in Natural Hazards Engineering > Wind Engineering (WE-UQ)
pset doesn't work for certain parameters
azing:
Hi,
I don't know why the pset command doesn't work for me for setting up certain parameters (My, theta_p, and theta_pc in the IMK material). They don't appear in the list of random variables in WE-UQ's user interface.
azing:
well, I added them manually, and they are sampled properly for the simulations.
fmk:
Can you post the script so I can see why the UI is not picking up the variables. thanks.
azing:
Thank you so much, please find attached the files.
fmk:
I have updated the source code .. the problem is the tabs in the pset line of your ALL.tcl .. as we originally were using the following regular expression:
pset[ ]+[A-Z_a-z0-9]+[ ]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it could only handle spaces on the line .. i have updated the src code to handle tabs now as well.
pset[ \t]+[A-Z_a-z0-9]+[ \t]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it will be in next release (anything above version 2.2.0). Thanks for pointing it out.
In the meantime you can of course avoid the problem by removing tabs from a pset line in your script.
Navigation
[0] Message Index
[#] Next page
Go to full version