Skip to content

Conversation

@gkbal
Copy link

@gkbal gkbal commented Jun 15, 2020

Numpy to xarray converter

@rocco8773 rocco8773 self-requested a review June 15, 2020 23:40
@codecov
Copy link

codecov bot commented Jun 15, 2020

Codecov Report

Merging #46 into master will decrease coverage by 0.37%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   96.85%   96.48%   -0.38%     
==========================================
  Files          49       49              
  Lines        3113     3126      +13     
  Branches      566      568       +2     
==========================================
+ Hits         3015     3016       +1     
- Misses         97      109      +12     
  Partials        1        1              
Impacted Files Coverage Δ
bapsflib/utils/__init__.py 25.00% <14.28%> (-75.00%) ⬇️

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 a20a78c...5992695. Read the comment docs.

@pep8speaks
Copy link

pep8speaks commented Jun 30, 2020

Hello @gkbal! Thanks for updating your pull request.

Line 34:80: E501 line too long (112 > 79 characters)

Comment last updated at 2020-07-20 05:10:43 UTC

def foo(x):
return x
def NdarrayToXarray(data, arr_name={}):
import xarray as xr
Copy link
Member

Choose a reason for hiding this comment

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

move between __all__ and the "from" imports

All imports should be at the top of the file, unless you're trying to avoid things like cyclical imports.

gkbal and others added 6 commits July 6, 2020 10:02
change module name

Co-authored-by: Erik Everson <eteverson@gmail.com>
"shot_index" to "shotnum"

Co-authored-by: Erik Everson <eteverson@gmail.com>
"shot_index" to "shotnum" 2

Co-authored-by: Erik Everson <eteverson@gmail.com>
…psflib into UnderConstruction_bapsf

� Conflicts:
�	bapsflib/utils/__init__.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants