Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom dates plot ccftime & start of brand new test suite for api.py #101

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

heavelock
Copy link

Well, I needed a possibility to plot only a part of data on ccftime plot. Because of that I just decided to add this functionality to the plotting method.
With this occasion I started a test_api test suite and added first few tests to it which are testing methods I modified.

Changes is msnoise_admin are purely PEP8 related.

@heavelock
Copy link
Author

What's the purpose of string comparison in line 47?
if sta2 >= sta1:

@ThomasLecocq
Copy link
Member

to ensure alphabetical sorting of the net.sta names

@heavelock heavelock changed the title Custom dates plot ccftime & start of brand new test suite for methods in API Custom dates plot ccftime & start of brand new test suite for api.py Oct 18, 2017
@codecov
Copy link

codecov bot commented Oct 20, 2017

Codecov Report

Merging #101 into master will decrease coverage by 0.84%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #101      +/-   ##
==========================================
- Coverage   74.28%   73.43%   -0.85%     
==========================================
  Files          17       17              
  Lines        2477     2477              
==========================================
- Hits         1840     1819      -21     
- Misses        637      658      +21
Impacted Files Coverage Δ
msnoise/s000installer.py 56.6% <ø> (-0.81%) ⬇️
msnoise/api.py 61.04% <100%> (-2.55%) ⬇️
msnoise/move2obspy.py 74.13% <0%> (-1.15%) ⬇️
msnoise/s06compute_dtt.py 78.21% <0%> (-1.12%) ⬇️
msnoise/s03compute_cc.py 71.62% <0%> (-0.34%) ⬇️

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 7f0f0ee...350c197. 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