Skip to content

Migrate Figure.coast tests to dvc #1102

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

Closed
wants to merge 118 commits into from
Closed

Migrate Figure.coast tests to dvc #1102

wants to merge 118 commits into from

Conversation

willschlitzer
Copy link
Contributor

Changing the tests in test_coast.py to use mpl_image_compare and adding the reference images to dvc.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

# Conflicts:
#	examples/projections/cyl/cyl_transverse_mercator.py
#	examples/projections/cyl/cyl_universal_transverse_mercator.py
@maxrjones
Copy link
Member

maxrjones commented Mar 22, 2021

Did this branch maybe get made off a fork that's behind the pygmt master branch? I think that could be why there's so many commits involved, which isn't great.

Edit - didn't actually look at the commits. Maybe it's a branch off the solar branch? Can you fix this?

@willschlitzer
Copy link
Contributor Author

willschlitzer commented Mar 22, 2021

Did this branch maybe get made off a fork that's behind the pygmt master branch? I think that could be why there's so many commits involved, which isn't great.

Yep. Forgot to switch back to set the remote as PyGMT repo after I switched to my fork to checkout wrap-solar. I'll close this PR. and try again.

@willschlitzer willschlitzer deleted the coast-test-dvc branch March 22, 2021 21:55
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.

4 participants