@dra2020/district-analytics 8.2.7 → 8.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -282771,9 +282771,16 @@ function scorePlan(s, p, bLog = false, overridesJSON) {
282771
282771
  // Add minority notes
282772
282772
  scorecard.minority.details['majorityMinority'] = M.getMajorityMinority(s);
282773
282773
  scorecard.minority.details['vraPreclearance'] = M.getVRASection5(s);
282774
- // Add KIWYSI compactness score
282775
- const kiwysiScore = C.scoreKIWYSICompactness(s, bLog);
282776
- scorecard.compactness.details['kiwysi'] = kiwysiScore;
282774
+ try {
282775
+ // Add KIWYSI compactness score
282776
+ const kiwysiScore = C.scoreKIWYSICompactness(s, bLog);
282777
+ scorecard.compactness.details['kiwysi'] = kiwysiScore;
282778
+ }
282779
+ catch (e) {
282780
+ console.log("Exception caught scoring KIWYSI compactness.");
282781
+ console.log(e.message);
282782
+ // throw e;
282783
+ }
282777
282784
  return scorecard;
282778
282785
  }
282779
282786
  exports.scorePlan = scorePlan;