I did some more testing with your latest psi25-xml snapshot (1.7.6);
updated on my laptop Aug 23
m2\repository\psidev\psi\mi\psi25-xml
drwx------+ 2 Administrators None 0 Jun 15 18:47 1.7.0
drwx------+ 2 Administrators None 0 Jun 6 09:04 1.7.3
drwx------+ 2 Administrators None 4096 Aug 23 14:16 1.7.6-SNAPSHOT
When I do a for loop (times 10) around the interaction code in your
xml example code
for(int i =0; i<10; i++){
// with all the participants created, an Interaction can now
be instantiated
Interaction interaction =
PsiFactory.createInteraction("interaction1", experiment1,
interactionType, participants);
// add the interactions to the collection
interactions.add(interaction);
}
10 experimental descriptions are added to the XML file. I have
attached both the code
and the xml file so that you are able to reproduce the issue. I hope
this helps to fix the
repeated experiment issue and make your code even better.
Original issue reported on code.google.com by brunoaranda on 26 Aug 2009 at 8:36
Original issue reported on code.google.com by
brunoaranda
on 26 Aug 2009 at 8:36