Skip to content

bug fix and allow different decoder arguments #20

Merged
Chilipp merged 4 commits intopsyplot:masterfrom
Chilipp:master
Apr 9, 2020
Merged

bug fix and allow different decoder arguments #20
Chilipp merged 4 commits intopsyplot:masterfrom
Chilipp:master

Conversation

@Chilipp
Copy link
Member

@Chilipp Chilipp commented Apr 9, 2020

This PR fixes a bug when speciying x, y, z and t as input arguments to a CFDecoder instance. Furthermore, the decoder parameter for the from_dataset method now supports different input types,

  • None to automatically set the decoder

  • a psyplot.data.CFDecoder instance

  • a psyplot.data.CFDecoder (sub)class

  • keyword arguments as a python dict

  • Tests added (for all bug fixes or enhancements)

  • Tests passed (for all non-documentation changes)

  • Fully documented, including CHANGELOG.rst for all changes

Chilipp added 3 commits April 9, 2020 10:50
This commit fixes a bug when speciying x, y, z and t as input arguments to a CFDecoder instance. Furthermore, we the decoder parameter for the from_dataset method now supports different input types, a None, a CFDecoder instance, a CFDecoder class and keyword arguments as a python dict
@codecov-io
Copy link

codecov-io commented Apr 9, 2020

Codecov Report

Merging #20 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   79.82%   79.87%   +0.05%     
==========================================
  Files          16       16              
  Lines        5560     5565       +5     
==========================================
+ Hits         4438     4445       +7     
+ Misses       1122     1120       -2     
Impacted Files Coverage Δ
psyplot/data.py 76.46% <100.00%> (+0.14%) ⬆️

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 6acc6f2...e6999d0. Read the comment docs.

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.

2 participants