Skip to content

Commit

Permalink
fix: 1667 older seedlots not updating new BV data (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaseta authored Nov 12, 2024
1 parent eebf0a1 commit a42f950
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public class ParentTreeService {
//CHECKSTYLE:OFF: VariableDeclarationUsageDistance
public PtCalculationResDto calculatePtVals(PtValsCalReqDto ptVals) {
SparLog.info(
"Started calculation for parent tree contribution values. Number of rchard parent received:"
+ " {}. Number of SMP mix parent tree received: {}.",
"Started calculation for parent tree contribution values. Number of orchard parent"
+ " received: {}. Number of SMP mix parent tree received: {}.",
ptVals.orchardPtVals().size(),
ptVals.smpMixIdAndProps().size());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,10 @@ export const generatePtValCalcPayload = (
coneCount: Number(row.coneCount.value),
pollenCount: Number(row.pollenCount.value),
smpSuccessPerc: Number(row.smpSuccessPerc.value),
nonOrchardPollenContamPct: Number(row.nonOrchardPollenContam.value),
nonOrchardPollenContamPct:
row.nonOrchardPollenContam.value
? Number(row.nonOrchardPollenContam.value)
: 0,
geneticTraits: []
};
// Populate geneticTraits array
Expand Down

0 comments on commit a42f950

Please sign in to comment.