Comments (3)
This seems reasonable. Will it be easy to test?
from sumo.
I guess most of the unit tests would sit in whatever package I end up writing to handle the actual parsing of the Wannier90 calculations, it would be an identical situation to the proposed Quantum ESPRESSO support. I guess it would be tested the same way sumo would test plotting from any other code, but I don't think there are any plotting-specific unit tests in sumo right now.
(I actually have no idea how to write plotting-specific unit tests, Julia's Plots.jl
has this idea of plotting recipes that I used when unit testing Julia plots, but I don't know if matplotlib
has anything similar).
from sumo.
Plot testing is really hard! There is at least one package out there for matplotlib that tries to normalise the less predictable parameters (screen resolution etc), save images and then compare them.
For Sumo tests we don't render the plot but have a poke around the ax.lines
etc. to see if the data looks correct.
As more code interfaces are added it doesn't make sense to test the actual plots; we should just check the data that makes it to a plotter.
from sumo.
Related Issues (20)
- [Feature Discussion] Comparing band structures on the same plot HOT 7
- What is the recommended way to use band.dat from sumo-bandplot? HOT 2
- sumo-optplot failed to plot optical absorption spectra diagrams of VASP GW+BSE computation. HOT 17
- The correct method of passing `Positional Arguments` to this tool. HOT 11
- A lot of link cannot be found HOT 4
- Sumo-bandplot fails with KeyError: <Spin.up: 1> HOT 2
- Plotting the bandstructure along a specific high symmetry path defined by the user HOT 2
- sumo phonon plot erro HOT 2
- Band-edge positions evaluated via sumo-bandstats in collinear antiferromagnetic NiO HOT 3
- strange DOS shape HOT 4
- Is it possible to plot the projected band structure of the lm-decomposed orbitals?
- error plotting band structure HOT 4
- DOS plot from DOSCAR(.lobster) HOT 5
- How to rotate Octahdrals locally along with unit cell axis HOT 14
- Separating spin-up and spin-down contributions in sumo-bandplot output .dat file HOT 2
- sumo-dosplot showing error ValueError: invalid literal for int() with base 10: '!' HOT 13
- Effective mass
- How to change yellow band color to red bands in band strcture? HOT 1
- AttributeError: 'NoneType' object has no attribute 'group' (Plotting DoS) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sumo.