File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33All notable changes to ** AnaFlow** will be documented in this file.
44
55
6+ ## [ 1.0.1] - 2020-04-02
7+
8+ ### Bugfixes
9+ - ` ModuleNotFoundError ` not present in py35
10+ - ` np.asscalar ` deprecated, use ` array.item() `
11+ - ` CHANGELOG.md ` links updated
12+
13+
614## [ 1.0.0] - 2020-03-22
715
816### Enhancements
@@ -69,8 +77,9 @@ Containing:
6977- lap_transgwflow_cyl - Solution for a diskmodel in laplace inversion
7078
7179
72- [ 1.0.0 ] : https://github.com/GeoStat-Framework/gstools/compare/v0.4.0...v1.0.0
73- [ 0.4.0 ] : https://github.com/GeoStat-Framework/gstools/compare/v0.3.0...v0.4.0
74- [ 0.3.0 ] : https://github.com/GeoStat-Framework/gstools/compare/v0.2.4...v0.3.0
75- [ 0.2.4 ] : https://github.com/GeoStat-Framework/gstools/compare/v0.1...v0.2.4
76- [ 0.1.0 ] : https://github.com/GeoStat-Framework/gstools/releases/tag/v0.1
80+ [ 1.0.1 ] : https://github.com/GeoStat-Framework/AnaFlow/compare/v1.0.0...v1.0.1
81+ [ 1.0.0 ] : https://github.com/GeoStat-Framework/AnaFlow/compare/v0.4.0...v1.0.0
82+ [ 0.4.0 ] : https://github.com/GeoStat-Framework/AnaFlow/compare/v0.3.0...v0.4.0
83+ [ 0.3.0 ] : https://github.com/GeoStat-Framework/AnaFlow/compare/v0.2.4...v0.3.0
84+ [ 0.2.4 ] : https://github.com/GeoStat-Framework/AnaFlow/compare/v0.1...v0.2.4
85+ [ 0.1.0 ] : https://github.com/GeoStat-Framework/AnaFlow/releases/tag/v0.1
Original file line number Diff line number Diff line change 110110
111111try :
112112 from anaflow ._version import __version__
113- except ModuleNotFoundError : # pragma: nocover
113+ except ImportError : # pragma: nocover
114114 # package is not installed
115115 __version__ = "0.0.0.dev0"
116116
Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ def grf_laplace(
171171 diff_sr0 = np .sqrt (S_part [0 ] / K_part [0 ])
172172 # set the general pumping-condtion depending on the well-radius
173173 if R_part [0 ] > 0.0 :
174- Qs = - s ** (- 0.5 ) / diff_sr0 * R_part [0 ] ** nu1 * cond (s , ** cond_kw )
174+ Qs = - ( s ** (- 0.5 ) ) / diff_sr0 * R_part [0 ] ** nu1 * cond (s , ** cond_kw )
175175 else :
176- Qs = - (2 / diff_sr0 ) ** nu * s ** (- nu / 2 ) * cond (s , ** cond_kw )
176+ Qs = - (( 2 / diff_sr0 ) ** nu ) * s ** (- nu / 2 ) * cond (s , ** cond_kw )
177177
178178 # if there is a homgeneouse aquifer, compute the result by hand
179179 if parts == 1 :
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def integrand(val):
126126 result [phase_i ] = quad (integ , 0 , np .inf )[0 ]
127127
128128 if is_scal :
129- result = np . asscalar ( result )
129+ result = result . item ( )
130130
131131 return result
132132
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def reshape(self, result):
9999 elif self .rad_shape :
100100 result = np .diag (result ).reshape (self .rad_shape )
101101 if self .time_scalar and self .rad_scalar :
102- result = np . asscalar ( result )
102+ result = result . item ( )
103103 return result
104104
105105
Original file line number Diff line number Diff line change 44# You can set these variables from the command line.
55SPHINXOPTS =
66SPHINXBUILD = python3 -msphinx
7- SPHINXPROJ = GeoStatTools
7+ SPHINXPROJ = AnaFlow
88SOURCEDIR = source
99BUILDDIR = build
1010
Original file line number Diff line number Diff line change 2121# pip install sphinx_rtd_theme
2222# is needed in order to build the documentation
2323import datetime
24- import os
25- import sys
26-
27- sys .path .insert (0 , os .path .abspath ("../../" ))
2824from anaflow import __version__ as ver
2925
3026
@@ -173,6 +169,9 @@ def setup(app):
173169
174170# Output file base name for HTML help builder.
175171htmlhelp_basename = "AnaFlowdoc"
172+ # logos for the page
173+ html_logo = "pics/Anaflow_150.png"
174+ html_favicon = "pics/Anaflow.ico"
176175
177176
178177# -- Options for LaTeX output ---------------------------------------------
@@ -233,7 +232,7 @@ def setup(app):
233232
234233suppress_warnings = [
235234 "image.nonlocal_uri" ,
236- # 'app.add_directive', # this evtl. suppresses the numpydoc induced warning
235+ # 'app.add_directive', # this evtl. suppresses the numpydoc induced warning
237236]
238237
239238# Example configuration for intersphinx: refer to the Python standard library.
You can’t perform that action at this time.
0 commit comments