Skip to content

allow user to provide json dump options when using ArgSchemaParser.output - #70

Merged
fcollman merged 3 commits into
AllenInstitute:devfrom
NileGraddis:dev
Jan 27, 2018
Merged

allow user to provide json dump options when using ArgSchemaParser.output#70
fcollman merged 3 commits into
AllenInstitute:devfrom
NileGraddis:dev

Conversation

@NileGraddis

Copy link
Copy Markdown
Contributor

A simple QoL change - I like to set the indent parameter when writing json from Python in order to get readable outputs. This change lets the user pass that and other keyword args for json.dump through ArgSchemaParser.output

@CLAassistant

CLAassistant commented Jan 25, 2018

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov-io

codecov-io commented Jan 25, 2018

Copy link
Copy Markdown

Codecov Report

Merging #70 into dev will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev      #70   +/-   ##
=======================================
  Coverage   97.32%   97.32%           
=======================================
  Files          13       13           
  Lines         448      448           
=======================================
  Hits          436      436           
  Misses         12       12
Impacted Files Coverage Δ
argschema/argschema_parser.py 99.05% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cb3237...ff4d39a. Read the comment docs.

@fcollman

Copy link
Copy Markdown
Member

can you add a test? mostly because #61 might change how this looks and i'd like to make sure this functionality is maintained.

@fcollman
fcollman merged commit 786c0b7 into AllenInstitute:dev Jan 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants