Skip to content

Commit

Permalink
Tiny update to bump version number to 2.8.1 to fix pypi release #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jgostick committed Aug 9, 2021
2 parents 54754ca + 2f972ea commit aefe32c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/logger.sh
Expand Up @@ -96,7 +96,7 @@ fi
echo -e "## ${tag_new}\n" >> entry
append_to_entry_with_label "$features" entry ":rocket: New features"
append_to_entry_with_label "$enhancements" entry ":cake: Enhancements"
append_to_entry_with_label "$maintenance" entry ":wrench: Maintenace"
append_to_entry_with_label "$maintenance" entry ":wrench: Maintenance"
append_to_entry_with_label "$changes" entry ":warning: API changes"
append_to_entry_with_label "$fixes" entry ":bug: Bugfixes"
append_to_entry_with_label "$documentation" entry ":green_book: Documentation"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/PoreSpyIO_on_Berea.py
Expand Up @@ -65,7 +65,7 @@
F = 1/Deff
print(f"The Formation factor of the extracted network is {F}")
print(f"The compares to a value of {data['formation factor']['Fx']} from DNS")
assert F/data['formation factor']['Fx'] < 1.9 # within 9%
np.testing.assert_allclose(F, data['formation factor']['Fx'], rtol=0.09)

# %% Perform Stokes flow to find Permeability coefficient
sf = op.algorithms.StokesFlow(network=pn, phase=gas)
Expand All @@ -78,4 +78,4 @@
K = sf.rate(pores=pn.pores('xmin'))*(L/A)/dP*1e12
print(f'Permeability coefficient is {K} Darcy')
print(f"The compares to a value of {data['permeability']['Kx']/1000} from DNS")
assert K/(data['permeability']['Kx']/1000) > 0.95 # within 5%
np.testing.assert_allclose(K, data['permeability']['Kx']/1000, rtol=0.05)

0 comments on commit aefe32c

Please sign in to comment.