From 20551254f48374f76596c061fdb7678f37481b7c Mon Sep 17 00:00:00 2001 From: Lukas Hergt Date: Mon, 11 Mar 2024 13:32:52 -0700 Subject: [PATCH] Fix dostring formatting of activation func (#58) * fix indentation in docstrings for parameter `activation_func` * version bump to 1.2.6 --- README.rst | 2 +- margarine/clustered.py | 4 ++-- margarine/maf.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index b70381a..a10528b 100755 --- a/README.rst +++ b/README.rst @@ -7,7 +7,7 @@ Introduction :margarine: Marginal Bayesian Statistics :Authors: Harry T.J. Bevins -:Version: 1.2.5 +:Version: 1.2.6 :Homepage: https://github.com/htjb/margarine :Documentation: https://margarine.readthedocs.io/ diff --git a/margarine/clustered.py b/margarine/clustered.py index 1f61db9..f379090 100644 --- a/margarine/clustered.py +++ b/margarine/clustered.py @@ -52,8 +52,8 @@ class clusterMAF(): activation_func: **string / default = 'tanh'** | The choice of activation function. It must be an activation - function keyword recognisable by TensorFlow. The default is - 'tanh', the hyperbolic tangent activation function. + function keyword recognisable by TensorFlow. The default is + 'tanh', the hyperbolic tangent activation function. cluster_labels: **list / default = None** | If clustering has been performed externally to margarine you can diff --git a/margarine/maf.py b/margarine/maf.py index 529da2e..8c4aae2 100755 --- a/margarine/maf.py +++ b/margarine/maf.py @@ -50,8 +50,8 @@ class MAF: activation_func: **string / default = 'tanh'** | The choice of activation function. It must be an activation - function keyword recognisable by TensorFlow. The default is - 'tanh', the hyperbolic tangent activation function. + function keyword recognisable by TensorFlow. The default is + 'tanh', the hyperbolic tangent activation function. theta_max: **numpy array** | The true upper limits of the priors used to generate the samples