Skip to content

Commit

Permalink
API updates for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Oct 25, 2023
1 parent 13fbd9e commit c0f2b49
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.0
container: ghcr.io/fenics/dolfinx/dolfinx:nightly
env:
DEB_PYTHON_INSTALL_LAYOUT: deb_system
PUBLISH_DIR: ./_build/html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
test-code:
runs-on: ubuntu-22.04
container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.0
container: ghcr.io/fenics/dolfinx/dolfinx:nightly
env:
DEB_PYTHON_INSTALL_LAYOUT: deb_system

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use github pages for docker image
FROM ghcr.io/jorgensd/cbcbeatx:v0.1.0
FROM ghcr.io/jorgensd/cbcbeatx:v0.7.0

# Create user with a home directory
ARG NB_USER
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/fenics/dolfinx/dolfinx:v0.7.0
FROM ghcr.io/fenics/dolfinx/dolfinx:nightly

ARG REPO_BRANCH="main"
ENV DEB_PYTHON_INSTALL_LAYOUT=deb_system
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ requires = ["setuptools>=61.0.0", "wheel"]

[project]
name = "cbcbeatx"
version = "0.7.0"
version = "0.7.0.dev0"
description = "A framework for computational cardiac electrophysiology"
authors = [{ name = "Jørgen S. Dokken", email = "dokken@simula.no" }]
license = { file = "LICENSE" }
readme = "README.md"
dependencies = ["fenics-dolfinx>=0.7.0"]
dependencies = ["fenics-dolfinx>0.7.0"]

[project.scripts]
cbcbeatx = "cbcbeatx.cli:main"
Expand Down
2 changes: 1 addition & 1 deletion src/cbcbeatx/markerwisefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __getitem__(self, key: int) -> ufl.core.expr.Expr:


def rhs_with_markerwise_field(
V: dolfinx.fem.FunctionSpaceBase,
V: dolfinx.fem.FunctionSpace,
g: typing.Optional[typing.Union[ufl.core.expr.Expr, Markerwise]],
) -> tuple[ufl.Measure, ufl.Form]:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/cbcbeatx/monodomainsolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class MonodomainSolver:
"""

_theta: dolfinx.fem.Constant # Temporal discretization variable
_V: dolfinx.fem.FunctionSpaceBase # Function space of solution
_V: dolfinx.fem.FunctionSpace # Function space of solution
_v: dolfinx.fem.Function # Solution at previous time step
_vh: dolfinx.fem.Function # Solution at current time step

Expand Down

0 comments on commit c0f2b49

Please sign in to comment.