Mercurial > hg > mpeg-demasking-lisenting-test
diff DeMaskingLT/PerceivedEmotion.cs @ 3:e0bd22354f3f tip
Fixed name bug
author | Geogaddi\David <d.m.ronan@qmul.ac.uk> |
---|---|
date | Fri, 07 Jul 2017 12:34:24 +0100 |
parents | e8147674e932 |
children |
line wrap: on
line diff
--- a/DeMaskingLT/PerceivedEmotion.cs Fri Jul 07 12:24:31 2017 +0100 +++ b/DeMaskingLT/PerceivedEmotion.cs Fri Jul 07 12:34:24 2017 +0100 @@ -41,7 +41,7 @@ public PerceivedEmotion(String name) { InitializeComponent(); - _participantName = name; + _experimentData.NameOfParticipant = name; } private void CheckSubmitButton() @@ -209,7 +209,7 @@ CenterToScreen(); //Create log file for Data - _logger = new Logging(_participantName + "_PEResults.txt", ","); + _logger = new Logging(_experimentData.NameOfParticipant + "_PEResults.txt", ","); string path = Directory.GetCurrentDirectory(); path = path + "\\EmotionFiles.txt";