Skip to content
Permalink
Browse files

Run the mode inference before converting geojson

  • Loading branch information...
shankari committed Feb 24, 2018
1 parent fbb096e commit 3fac2cfcc71c6c35ff3f193dfdd8c17dddc433e9
Showing with 4 additions and 3 deletions.
  1. +4 −3 emission/tests/analysisTests/plottingTests/TestGeojsonFeatureConverter.py
@@ -20,12 +20,12 @@
import emission.storage.pipeline_queries as epq
import emission.core.wrapper.motionactivity as ecwm

import emission.analysis.plotting.geojson.geojson_feature_converter as gjfc
import emission.analysis.intake.segmentation.trip_segmentation as eaist
import emission.analysis.intake.segmentation.section_segmentation as eaiss
import emission.analysis.intake.cleaning.location_smoothing as eaicl
import emission.analysis.intake.cleaning.clean_and_resample as eaicr

import emission.analysis.intake.segmentation.trip_segmentation as eaist
import emission.analysis.classification.inference.mode.pipeline as eacimp
import emission.analysis.plotting.geojson.geojson_feature_converter as gjfc

import emission.storage.decorations.trip_queries as esdt
import emission.storage.decorations.stop_queries as esdst
@@ -56,6 +56,7 @@ def testTripGeojson(self):
self.assertEquals(len(tl.trips), 9)

eaicr.clean_and_resample(self.testUUID)
eacimp.predict_mode(self.testUUID)

tl = esdtl.get_cleaned_timeline(self.testUUID, 1440658800, 1440745200)
tl.fill_start_end_places()

0 comments on commit 3fac2cf

Please sign in to comment.
You can’t perform that action at this time.