Skip to content

Commit

Permalink
Merge pull request #125 from hvasbath/dev_v2
Browse files Browse the repository at this point in the history
Dev v2
  • Loading branch information
hvasbath committed Mar 25, 2024
2 parents 19c1830 + 539972f commit 7fb522d
Show file tree
Hide file tree
Showing 92 changed files with 5,585 additions and 4,312 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Exclude windows-2019

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4


- name: Build wheels
Expand All @@ -30,7 +30,7 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: pre-commit/[email protected].0
python-version: 3.9
- uses: pre-commit/[email protected].1
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ repos:
args: [--unsafe]
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.2.1
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.6
hooks:
- id: codespell
args: [--write-changes, "-L ure,nd,ue,parms,Ue,statics,indexs"]
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to BEAT will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [2.0.0] 24 March 2024
Major new release! Previous project setups are not back-compatible. Supports python3.9+.

Contributors: Hannes Vasyura-Bathke @hvasbath

### Added
- new inference mode: "bem" for Boundary Element Modeling
- allow for multi-source type inference: e.g. MTSource, RectangularSource
- added parameter defaults module and config functionality

### Changed
- using pymc v5 and pytensor instead of pymc v3 and theano --> makes old setups incompatible
- n_sources in config is now list of integers, previous: integer
- source_type to: list of source_types, variable changed to source_types
- adopted ruff linting
- replace nose with pytest testing

## [1.2.5] 24 Mai 2023
Contributors: Hannes Vasyura-Bathke @hvasbath

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Documentation of the current version moved to the pyrocko server can be found here:
https://pyrocko.org/beat/

Based on pyrocko, theano and pymc3
Based on pyrocko, pytensor and pymc

## Tutorials
Step by step points on how to use the tool for several scenarios can be found here:
Expand Down
Loading

0 comments on commit 7fb522d

Please sign in to comment.