Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the grasshopper manage commands to export Timetable data for use in grasshopper.
The
exportevents
manage command whichgrasshopper_export_data
was based on did not support exporting borrowed series fully. (A series referenced from > 1 module would only have one of the referencing modules exported.) I've patched theexportevents
command to export borrowed series fully.grasshopper_export_data
has been modified to extendexportevents
and so inherit the fixed borrowed series handling.A small dataset has been added at
fixtures/representative
which includes Timetable db data and expected outputs for its grasshopper CSV export and JSON tree representation.Note that this PR contains the changes from #1