Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 11, 2022
1 parent 9dfb513 commit d4cb5bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chemistry_tools/formulae/formula.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def most_probable_isotopic_composition(
if not elements_with_isotopes or (element_name in elements_with_isotopes):
# Take the two most abundant isotopes.
first_iso, second_iso = sorted(
[(i[0], i[1][1]) for i in isotope_data[element_name].items() if i[0]],
((i[0], i[1][1]) for i in isotope_data[element_name].items() if i[0]),
key=lambda x: -x[1]
)[:2]

Expand Down
4 changes: 2 additions & 2 deletions chemistry_tools/pubchem/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cawdrey>=0.1.7
mathematical>=0.1.13
pillow>=7.0.0; platform_python_implementation != "PyPy"
pillow>=7.0.0; platform_python_implementation == "PyPy" and python_version != "3.6"
pillow>=7.0.0,<=8.0.0; platform_python_implementation == "PyPy" and python_version == "3.6"
pillow>=7.0.0; platform_python_implementation != "PyPy"
pillow<=8.0.0,>=7.0.0; platform_python_implementation == "PyPy" and python_version == "3.6"
pyparsing>=2.4.6
tabulate>=0.8.9

0 comments on commit d4cb5bb

Please sign in to comment.