Skip to content

Conversation

lrennels
Copy link
Collaborator

@lrennels lrennels commented Sep 10, 2020

this PR is to work on #748

It is fixed for the specific case @davidanthoff pointed out but really should be expanded to handle some other indexing cases ... I'm hoping there's a simpler way than writing all these cases into dotview but having trouble finding documentation on what dotview calls

update we should pause now and take a closer look at how we could possible remove any overrides of dot view in favor for a more conventional approach of adding axes in conjunction with getindex and setindex! methods ... and understand better the conventional way of doing this work

@codecov
Copy link

codecov bot commented Sep 10, 2020

Codecov Report

Merging #758 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #758      +/-   ##
==========================================
+ Coverage   78.70%   78.74%   +0.03%     
==========================================
  Files          35       35              
  Lines        2968     2973       +5     
==========================================
+ Hits         2336     2341       +5     
  Misses        632      632              
Flag Coverage Δ
#unittests 78.74% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/time_arrays.jl 79.18% <100.00%> (+0.36%) ⬆️

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 4d89d02...c0efcec. Read the comment docs.

@lrennels lrennels marked this pull request as ready for review September 10, 2020 20:24
@lrennels
Copy link
Collaborator Author

This will fix the specific issue cited ... I'll add an issue to make this more robust in the future.

@lrennels lrennels changed the title Add option for dotview with TimestepIndex Review Treatment of TimestepArrays Sep 11, 2020
@lrennels lrennels removed the request for review from davidanthoff September 11, 2020 21:32
Copy link
Collaborator

@davidanthoff davidanthoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, lets go with this for now and then review our general approach later.

@lrennels lrennels merged commit c4fe9aa into master Sep 30, 2020
@lrennels lrennels deleted the indexing branch September 30, 2020 17:52
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