I'd like to retrieve the results of the execution in the exact order of the
csv file lines

e.g. first result file or folder in my workdirectory must be the result of
my model with iput = the first line of the CSV from which I take a
CSVsampling task , second resulkt file must be the result of the model with
the second line of the CSV as iputs and so on...

Since it's called "sampling" , I guess there is some randomness at some
point

2016-12-01 20:27 GMT+01:00 Romain Reuillon <[email protected]>:

> Hi Paul,
>
> I don't get what you want. The sampling here assing one seed for each line
> in the csv file. Therefor the subsequent task will be executed once for
> each line. What do you want to achive?
>
> Romain
>
>
> Le 01/12/2016 à 17:46, paul chapron a écrit :
>
> Hi fellow users ,
>
>
> I have replication task to perform (n execution per line in my file, n
> result file per execution ) , that looks like :
>
> _________________________________________________________
> val s = CSVSampling(workDirectory/"population400000.csv") set (
>   columns += ("distReculVoirie", distReculVoirie),
>   columns += ("distReculFond", distReculFond),
>   columns += ("distReculLat", distReculLat),
> [...]
>  separator := ','
> )
>
> val exploration = ExplorationTask(
>   s x
> (seed in UniformDistribution[Long](42) take 1)   //for now , only one
> execution is needed
> )
> [...]
> __________________________________________________________
>
>
> It appears that now I must not sample randomly anymore in the lines of the
> CSV.
>
> Is there a way to tell CSVsampling to go through the file line-by-line and
> not at random ?
> (It would savec me a lot of matching on values later)
>
>
> Cheers
>
> paul
>
>
>
>
>
> _______________________________________________
> OpenMOLE-users mailing 
> [email protected]http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>
>
>
> _______________________________________________
> OpenMOLE-users mailing list
> [email protected]
> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>
>
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to