| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #335 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 516 519 +3
=========================================
+ Hits 516 519 +3
|
Sorry, something went wrong.
There was a problem hiding this comment.
I am not sure this is the right approach. I think it might be more reusable if we take a diffpy.structure object and write a method that will output hill notation.
Sorry, something went wrong.
I think this function is only for converting the chemical formula to hill notation though. After the user specifies the chemical formula, I'm thinking of the following steps: 1. convert to hill notation, 2. use it to extract relevant cif files, 3. compute density for each cif file, 4. return the average density (or other depending on phase). I plan to have one function each for each step. Does this sound good? |
Sorry, something went wrong.
I was just suggesting that this function could be a method of diffpy.structure. This makes sense if we can more or less instantiate an empty diffpy.structure object. A diffpy.structure object is a structure or a phase, so it makes sense that I can ask it for its hill_formula...... |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Task 1 in #333
@sbillinge ready for review! I splitted the issue into multiple steps, and this is the first one. For this issue I think this might be a better way to organize the substeps since everything is in one place.