Skip to content

Commit

Permalink
Merge branch 'release/4.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
pauliacomi committed Mar 14, 2022
2 parents 402010f + 2b2b60a commit 062653b
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
|
|
.. image:: https://raw.githubusercontent.com/pauliacomi/pyGAPS/develop/docs/logo.svg
.. image:: https://raw.githubusercontent.com/pauliacomi/pyGAPS/master/docs/logo.svg
:width: 200px
:align: center

Expand Down
2 changes: 1 addition & 1 deletion conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "pygaps" %}
{% set version = "4.1.1" %}
{% set version = "4.1.2" %}

package:
name: {{ name|lower }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/pygaps/_version.py"
local_scheme = 'dirty-tag'
fallback_version = '4.1.1'
fallback_version = '4.1.2'

# linting: pylint
[tool.pylint.basic]
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[bumpversion]
current_version = 4.1.1
current_version = 4.1.2
commit = True
tag = False
message = '{current_version} → {new_version}'

[metadata]
name = pygaps
version = 4.1.1
version = 4.1.2
description = A framework for processing adsorption data for porous materials.
long_description = file: README.rst
long_description_content_type = text/x-rst
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ._version import version
__version__ = version
except ImportError:
__version__ = '4.1.1'
__version__ = '4.1.2'

import sys
from .logging import logger
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/bet.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class BET(IsothermBaseModel):
param_default_bounds = (
(0, numpy.inf),
(0, numpy.inf),
(0, numpy.inf),
(0, 1),
)

def loading(self, pressure):
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/fhvst.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def loading(self, pressure):
def fun(x):
return self.pressure(x) - pressure

opt_res = optimize.root(fun, 0, method='hybr')
opt_res = optimize.root(fun, numpy.zeros_like(pressure), method='hybr')

if not opt_res.success:
raise CalculationError(f"Root finding for value {pressure} failed.")
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/gab.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GAB(IsothermBaseModel):
param_default_bounds = (
(0, numpy.inf),
(0, numpy.inf),
(0, numpy.inf),
(0, 1),
)

def loading(self, pressure):
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/jensenseaton.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def pressure(self, loading):
def fun(x):
return self.loading(x) - loading

opt_res = optimize.root(fun, 0, method='hybr')
opt_res = optimize.root(fun, numpy.zeros_like(loading), method='hybr')

if not opt_res.success:
raise CalculationError(f"Root finding for value {loading} failed.")
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/temkinapprox.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def pressure(self, loading):
def fun(x):
return self.loading(x) - loading

opt_res = optimize.root(fun, 0, method='hybr')
opt_res = optimize.root(fun, numpy.zeros_like(loading), method='hybr')

if not opt_res.success:
raise CalculationError(f"Root finding for value {loading} failed.")
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/tslangmuir.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def pressure(self, loading):
def fun(x):
return self.loading(x) - loading

opt_res = optimize.root(fun, 0, method='hybr')
opt_res = optimize.root(fun, numpy.zeros_like(loading), method='hybr')

if not opt_res.success:
raise CalculationError(f"Root finding for value {loading} failed.")
Expand Down
2 changes: 1 addition & 1 deletion src/pygaps/modelling/wvst.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def loading(self, pressure):
def fun(x):
return self.pressure(x) - pressure

opt_res = optimize.root(fun, 0, method='hybr')
opt_res = optimize.root(fun, numpy.zeros_like(pressure), method='hybr')

if not opt_res.success:
raise CalculationError(f"Root finding for value {pressure} failed.")
Expand Down

0 comments on commit 062653b

Please sign in to comment.