Skip to content

Wrapped dictionary .values() call in list#61

Merged
pavoljuhas merged 3 commits into
diffpy:masterfrom
rjkoch:fix_list_handling
Nov 14, 2019
Merged

Wrapped dictionary .values() call in list#61
pavoljuhas merged 3 commits into
diffpy:masterfrom
rjkoch:fix_list_handling

Conversation

@rjkoch

@rjkoch rjkoch commented Oct 28, 2019

Copy link
Copy Markdown

Closes #60, dict.values() does not return list. WIP.

@codecov

codecov Bot commented Oct 28, 2019

Copy link
Copy Markdown

Codecov Report

Merging #61 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   81.19%   81.18%   -0.01%     
==========================================
  Files          91       91              
  Lines        7599     7596       -3     
==========================================
- Hits         6170     6167       -3     
  Misses       1429     1429
Impacted Files Coverage Δ
src/diffpy/srfit/tests/testpdf.py 100% <ø> (ø) ⬆️
src/diffpy/srfit/fitbase/fitresults.py 11.89% <0%> (ø) ⬆️
src/diffpy/srfit/fitbase/fitrecipe.py 77.41% <0%> (ø) ⬆️

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 4edfa96...564c9e3. Read the comment docs.

@rjkoch

rjkoch commented Oct 28, 2019

Copy link
Copy Markdown
Author

@pavoljuhas @sbillinge ready for review

@rjkoch

rjkoch commented Nov 13, 2019

Copy link
Copy Markdown
Author

Has there been any progress on accepting this? The current version does not support writing results from multi-profile recipe, which is problematic

@sbillinge

sbillinge commented Nov 13, 2019 via email

Copy link
Copy Markdown
Contributor

@rjkoch

rjkoch commented Nov 13, 2019 via email

Copy link
Copy Markdown
Author

Test passes with diffpy.structure 3.0.1.
@pavoljuhas pavoljuhas merged commit 564c9e3 into diffpy:master Nov 14, 2019
@pavoljuhas

Copy link
Copy Markdown
Member

Looks good to me.

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.

Python 3 compatibility with dictionary views vs lists.

3 participants