Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template generation improvements #7

Merged
merged 5 commits into from May 8, 2019

Conversation

Projects
None yet
2 participants
@jacoblurye
Copy link
Collaborator

commented May 8, 2019

Progress towards https://trello.com/c/OwiFTSow/370-write-spreadsheet-generator

  • Refactors existing functionality from the create_template script into the cidc_schemas.manifest module:
    • the ShippingManifest class (we can revisit the name) takes a manifest config and organizes the relevant entity schemas into template sections
    • the XlTemplateWriter class generates an Excel template file from a ShippingManifest instance.
  • Adds some unit tests for the above functionality.
  • Starts in on a command-line interface for generating and validating templates (see README updates for overview).
@@ -5,10 +5,12 @@ This repository contains formal defintions of the CIDC metadata model using [jso
## View documentation at https://cimac-cidc.github.io/cidc-schemas/

# Running tests
This repository has unit tests in the *tests* folder. After installing dependencies

This comment has been minimized.

Copy link
@jacoblurye

jacoblurye May 8, 2019

Author Collaborator

Apologies for these autoformat additions -- happy to revert, if you want.

@jacoblurye jacoblurye requested review from jim-bo and priti88 May 8, 2019

@jacoblurye jacoblurye force-pushed the template-generation-improvements branch from 22d54d0 to 390986f May 8, 2019

@jim-bo

jim-bo approved these changes May 8, 2019

@jim-bo jim-bo merged commit 1317fd7 into master May 8, 2019

@jacoblurye jacoblurye deleted the template-generation-improvements branch May 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.