File tree Expand file tree Collapse file tree
server/services/qualityControlFlag Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import { BadParameterError } from '../../errors/BadParameterError.js';
1414import { dataSource } from '../../../database/DataSource.js' ;
1515import { Op } from 'sequelize' ;
1616import { QcFlagRepository } from '../../../database/repositories/index.js' ;
17- import { qcFlagEffectivePeriodAdapter } from '../../../database/adapters/index.js' ;
1817
1918/**
2019 * @typedef RunQcSummary
@@ -167,7 +166,6 @@ export class QcFlagSummaryService {
167166 const effectiveRunCoverage = ( effectiveRunCoverageString ?? null ) !== null
168167 ? parseFloat ( effectiveRunCoverageString )
169168 : null ;
170- console . log ( effectiveRunCoverageString ) ;
171169
172170 return {
173171 runNumber : summaryDb . runNumber ,
Original file line number Diff line number Diff line change @@ -344,8 +344,10 @@ class GetAllRunsUseCase {
344344 const { mcReproducibleAsNotBad = false } = gaq ;
345345 const [ dataPassId ] = dataPassIds ;
346346 const gaqSummary = await gaqService . getSummary ( dataPassId , { mcReproducibleAsNotBad } ) ;
347+ console . log ( gaqSummary , mcReproducibleAsNotBad ) ;
347348
348349 for ( const [ operator , value ] of Object . entries ( gaq . notBadFraction ) ) {
350+ console . log ( operator , value ) ;
349351 const runNumbers = Object . entries ( gaqSummary )
350352 . filter ( ( [ _ , { badEffectiveRunCoverage } ] ) => {
351353 switch ( operator ) {
Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ const RunTypeSuite = require('./runType/index.js');
2020const FlpSuite = require ( './flp/index.js' ) ;
2121const ServerSuite = require ( './server/index.js' ) ;
2222const TagSuite = require ( './tag/index.js' ) ;
23+ const { resetDatabaseContent } = require ( '../../utilities/resetDatabaseContent.js' ) ;
2324
2425module . exports = ( ) => {
26+ before ( resetDatabaseContent ) ;
2527 describe ( 'Status use-case' , StatusSuite ) ;
2628 describe ( 'Log use-case' , LogSuite ) ;
2729 describe ( 'LhcFill use-case' , LhcFillSuite ) ;
You can’t perform that action at this time.
0 commit comments