Belle II Software development
Package Class Reference
Inheritance diagram for Package:
JsonBase ComparisonPackage

Public Member Functions

 __init__ (self, name, plotfiles=None, scriptfiles=None, fail_count=0)
 

Public Attributes

 name = name
 name of the package
 
 plotfiles = plotfiles
 list of plotfiles which were produced by the scripts in this package
 
 scriptfiles = scriptfiles
 scripts which were run or skipped as this package was executed
 
bool visible = True
 true if this package is displayed on the default validation website
 
 fail_count = fail_count
 contains the number how many scripts failed to execute with error
 

Detailed Description

One high-level package of the validation suites which contains a set of
scripts and output plot files

Definition at line 241 of file json_objects.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
name,
plotfiles = None,
scriptfiles = None,
fail_count = 0 )
Create a new NTuple object and fill all members

Definition at line 248 of file json_objects.py.

248 def __init__(self, name, plotfiles=None, scriptfiles=None, fail_count=0):
249 """
250 Create a new NTuple object and fill all members
251 """
252
253 if not plotfiles:
254 plotfiles = []
255 if not scriptfiles:
256 scriptfiles = []
257
258
259 self.name = name
260
261 self.plotfiles = plotfiles
262
263 self.scriptfiles = scriptfiles
264
265 self.visible = True
266
267 self.fail_count = fail_count
268
269

Member Data Documentation

◆ fail_count

fail_count = fail_count

contains the number how many scripts failed to execute with error

Definition at line 267 of file json_objects.py.

◆ name

name = name

name of the package

Definition at line 259 of file json_objects.py.

◆ plotfiles

plotfiles = plotfiles

list of plotfiles which were produced by the scripts in this package

Definition at line 261 of file json_objects.py.

◆ scriptfiles

scriptfiles = scriptfiles

scripts which were run or skipped as this package was executed

Definition at line 263 of file json_objects.py.

◆ visible

bool visible = True

true if this package is displayed on the default validation website

Definition at line 265 of file json_objects.py.


The documentation for this class was generated from the following file: