Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert to nightly with API changes #10

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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