Skip to content
Permalink
Browse files

Merge pull request #13517 from cbolisetti/v_and_v_report-9638

Made changes to sqa.py to improve V&V report.
  • Loading branch information...
aeslaughter committed Jun 5, 2019
2 parents 242eae9 + b75d94b commit c84b154e6b8b864dceed394779a92ee9df47e250
@@ -1,6 +1,5 @@
# Diffusion Method of Manufactured Solutions

!alert construction
!alert note
This page should contain details of the `functions/parsed:transient` test, this file was
create to test the SQA system for creating verification and validation reports.

@@ -41,8 +41,8 @@ def __init__(self,
self.label = None # added by get_requirements function
self.satisfied = satisfied
self.prerequisites = []
self.verification = False
self.validation = False
self.verification = None
self.validation = None

def __str__(self):
frmt = '{}:\n Text: {}\n Design: {}\n Issues: {}'
@@ -115,8 +115,8 @@ def _add_requirements(out, location, filename):
issues_line=local_issues_line,
satisfied=satisfied)

req.verification = child.get('verification', False)
req.validation = child.get('validation', False)
req.verification = child.get('verification', None)
req.validation = child.get('validation', None)

group = os.path.relpath(filename, location).split('/')[0]

@@ -295,7 +295,7 @@ def createToken(self, parent, info, page):
matrix = SQARequirementMatrix(parent)
for requirements in self.extension.requirements.itervalues():
for req in requirements:
if getattr(req, info['subcommand']):
if getattr(req, info['subcommand']) is not None:
self._addRequirement(matrix, info, page, req)

return parent
@@ -325,7 +325,7 @@ def _addRequirement(self, parent, info, page, req):

p = core.Paragraph(item)
tokens.String(p, content=u'Details: ')
filename = u'{}/{}.md'.format(req.path, req.name)
filename = getattr(req, info['subcommand'])
autolink.AutoLink(p, page=unicode(filename))


@@ -12,7 +12,7 @@
input = 'mms_transient_coupled.i'
exodiff = 'mms_transient_coupled_out.e'
requirement = "The ParsedFunction object shall be capable of defining function within the input file for use with the method of manufactured solutions."
verification = true
verification = parsed_function_verification.md
[../]
[./vector]
type = 'Exodiff'

0 comments on commit c84b154

Please sign in to comment.
You can’t perform that action at this time.