Skip to content

Commit

Permalink
add comments to reception tests
Browse files Browse the repository at this point in the history
  • Loading branch information
piberger committed Jul 19, 2016
1 parent 1087b8d commit 103f3fa
Showing 1 changed file with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,26 @@ def CustomWriteToDatabase(self, ParentID):
except:
pass

Comment = LeakageCurrentString

try:
if self.ParentObject.CommentFromFile:
if len(Comment) < 1:
Comment = self.ParentObject.CommentFromFile
else:
Comment += "; " + self.ParentObject.CommentFromFile
except:
pass

try:
if self.CommentFromFile:
if len(Comment) < 1:
Comment = self.CommentFromFile
else:
Comment += "; " + self.CommentFromFile
except:
pass

# fill DB row
Row = {
'ModuleID': self.Attributes['ModuleID'],
Expand Down Expand Up @@ -375,7 +395,7 @@ def CustomWriteToDatabase(self, ParentID):
'ROCsLessThanOnePercent': self.ResultData['SubTestResults']['Grading'].ResultData['HiddenData']['ROCsLessThanOnePercent'],
'ROCsMoreThanOnePercent': self.ResultData['SubTestResults']['Grading'].ResultData['HiddenData']['ROCsMoreThanOnePercent'],
'ROCsMoreThanFourPercent': self.ResultData['SubTestResults']['Grading'].ResultData['HiddenData']['ROCsMoreThanFourPercent'],
'Comments': LeakageCurrentString,
'Comments': Comment,
})
except:
raise
Expand Down

0 comments on commit 103f3fa

Please # to comment.