woo

Running a batch vs. a single run with an .xls-file

Asked by Michel Van de gaer

In the file you made, the group sim (ell2d-grp.py) is one with all the different sizes of ellipsoids, although in the tittle of the .xl file you write ‘equal’ (ell2d-grp.equal.xls), so I'm guessing that it’s possible to do a (single) batch run starting with that Excel-file … but how does one start that batch run ... or is there a more straightforward way to set all the ellipsoids to the same size?

Question information

Language:
English Edit question
Status:
Solved
For:
woo Edit question
Assignee:
No assignee Edit question
Solved by:
Václav Šmilauer
Solved:
Last query:
Last reply:
Revision history for this message
Best Václav Šmilauer (eudoxos) said :
#1

Hi, the XLS file serves to override the parameters in woo.batch.readParamsFromTable (those are the defaults when the script is used outside the batch), one line per simulation (http://woodem.eu/doc/user/batch.html).

So you can either change the defaults in the scripts (in woo.batch.readParamsFromTable) which are used when table is not given, or run the script in batch, using something like:

woo_batch ell2d-grp.equal.xls ell2d-grp.py

When using the EllGroup preprocessor, you save the preprocessor into a file and then use the XLS table to override parameters in the preprocessor, something like

woo-batch ell2d-grp.xls ellgrp.preprocessor

HTH, Václav

Revision history for this message
Michel Van de gaer (michelvandegaer) said :
#2

Thanks Václav Šmilauer, that solved my question.