@dra2020/district-analytics 5.6.3 → 5.6.4
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 +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/district-analytics.js +3 -0
- package/dist/district-analytics.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -102856,6 +102856,9 @@ class AnalyticsSession {
|
|
|
102856
102856
|
// analytics & validations, saving/updating the individual test results.
|
|
102857
102857
|
analyzePlan(bLog = false, overridesJSON) {
|
|
102858
102858
|
try {
|
|
102859
|
+
// Guard against being handed a map w/o any precincts assigned
|
|
102860
|
+
if (U.isObjectEmpty(this.plan._planByGeoID))
|
|
102861
|
+
return false;
|
|
102859
102862
|
preprocess_1.doPreprocessData(this, bLog);
|
|
102860
102863
|
analyze_1.doAnalyzeDistricts(this, bLog);
|
|
102861
102864
|
analyze_1.doAnalyzePlan(this, bLog);
|