From 81a193e13d752c0d0a4be33de41920a017454978 Mon Sep 17 00:00:00 2001 From: blakeaw Date: Sun, 21 Jul 2024 18:07:53 -0500 Subject: [PATCH] Upgraded the version number from 0.3.2 to 0.3.3 - bug fix. --- CHANGELOG.md | 6 ++++++ CITATION.cff | 4 ++-- README.md | 14 +++++++------- src/pysb/pkpd/__init__.py | 2 +- src/pysb/pkpd/util.py | 2 +- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98527d6..1e3250f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.3.3] - 2024-07-21 + +### Fixed + +- Fix for Issue https://github.com/blakeaw/pysb-pkpd/issues/20 + ## [0.3.2] - 2024-07-18 ### Fixed diff --git a/CITATION.cff b/CITATION.cff index 577ec8d..12f6abc 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -18,9 +18,9 @@ abstract: >- PySB add-on providing domain-specific macros and models for empirical and mechanistic PK/PD modeling. license: BSD-2-Clause -version: 0.3.2 +version: 0.3.3 doi: 10.5281/zenodo.12775536 -date-released: '2024-07-18' +date-released: '2024-07-21' references: - authors: - family-names: Lopez diff --git a/README.md b/README.md index 8606f75..fd53642 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ ![Python version badge](https://img.shields.io/badge/python-3.11.3-blue.svg) [![PySB version badge](https://img.shields.io/badge/PySB->%3D1.15.0-9cf.svg)](https://pysb.org/) [![license](https://img.shields.io/github/license/blakeaw/pysb-pkpd.svg)](LICENSE) -![version](https://img.shields.io/badge/version-0.3.2-orange.svg) -[![release](https://img.shields.io/github/release-pre/blakeaw/pysb-pkpd.svg)](https://github.com/blakeaw/pysb-pkpd/releases/tag/v0.3.2) +![version](https://img.shields.io/badge/version-0.3.3-orange.svg) +[![release](https://img.shields.io/github/release-pre/blakeaw/pysb-pkpd.svg)](https://github.com/blakeaw/pysb-pkpd/releases/tag/v0.3.3) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12775536.svg)](https://doi.org/10.5281/zenodo.12775536) __`pysb-pkpd` enables you to efficiently program and simulate dynamic PK/PD and QSP models in Python using the PySB modeling framework.__ @@ -56,27 +56,27 @@ Note that `pysb-pkpd` has the following core dependencies: ### pip install -You can install `pysb-pkpd` version 0.3.2 with `pip` sourced from the GitHub repo: +You can install `pysb-pkpd` version 0.3.3 with `pip` sourced from the GitHub repo: ##### with git installed: Fresh install: ``` -pip install git+https://github.com/blakeaw/pysb-pkpd@v0.3.2 +pip install git+https://github.com/blakeaw/pysb-pkpd@v0.3.3 ``` Or to upgrade from an older version: ``` -pip install --upgrade git+https://github.com/blakeaw/pysb-pkpd@v0.3.2 +pip install --upgrade git+https://github.com/blakeaw/pysb-pkpd@v0.3.3 ``` ##### without git installed: Fresh install: ``` -pip install https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.2.zip +pip install https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.3.zip ``` Or to upgrade from an older version: ``` -pip install --upgrade https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.2.zip +pip install --upgrade https://github.com/blakeaw/pysb-pkpd/archive/refs/tags/v0.3.3.zip ``` ### Manual install diff --git a/src/pysb/pkpd/__init__.py b/src/pysb/pkpd/__init__.py index 906a620..d0598fa 100644 --- a/src/pysb/pkpd/__init__.py +++ b/src/pysb/pkpd/__init__.py @@ -5,4 +5,4 @@ from .macros import * from .util import simulate -__version__ = '0.3.2' \ No newline at end of file +__version__ = '0.3.3' \ No newline at end of file diff --git a/src/pysb/pkpd/util.py b/src/pysb/pkpd/util.py index f91cb33..3ae4d55 100644 --- a/src/pysb/pkpd/util.py +++ b/src/pysb/pkpd/util.py @@ -37,7 +37,7 @@ def simulate( tspan=tspan, integrator="lsoda", ) - simulation_result = simulation.run( + simulation_result = simulator.run( param_values=param_values, initials=initials, num_processors=nprocs ) simulation_trajectory = simulation_result.all