Closed cisaacstern closed 1 month ago
Goal by end of day: finish this with map output.
Closes #4 Closes #13
remaining todo:
This works, horray! 🎉
remaining todo:
- [ ] serialize output of final stage of sequential script (add return_postvalidator, and spec field, e.g. "results_root", for this)
In the end, I punted on this for now by just printing the html string from the script to stdout, and >
'ing that text to file.
A working ecomap can be generated roughly as follows (mostly notes to self, more detailed docs to follow):
$ ecoscope-workflows compile \
--spec examples/compilation-specs/time-density.yaml \
--template script-sequential.jinja2 --outpath $SCRIPT_OUTPATH \
--testing --mock-tasks get_subjectgroup_observations
$ python3 -W ignore $SCRIPT_OUTPATH \
--config-file ${PARAMS_YAML_PATH} \
> map.html
(This is the same thing as the e2e test added here does.)
Closes #18
Closes #5