Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
c31da25
Add `random_seed` to the `test` method of maps (#1465)
santisoler Jun 10, 2024
91d1f57
Use Numpy rng in TDEM tests (#1452)
santisoler Jun 10, 2024
5575c5e
Use random seed in missed objective function tests (#1483)
santisoler Jun 10, 2024
00d3371
Fix contour colors in gravity plot in User Guide (#1486)
williamjsdavis Jun 14, 2024
0782567
Hide type hints from signatures in documentation pages (#1471)
santisoler Jun 14, 2024
77edcc8
Reorganize the maps submodule (#1480)
santisoler Jun 15, 2024
c37536c
Pyproject.toml (#1482)
jcapriot Jun 17, 2024
eee9ce4
Use Numpy rng in static EM tests (#1451)
santisoler Jun 17, 2024
3eb16c0
Split Azure Pipelines configuration into multiple files (#1481)
santisoler Jun 18, 2024
83183b4
Ignore `survey_type` argument in DC and SIP surveys (#1458)
santisoler Jun 20, 2024
637815a
Update deployment of docs to simpeg-docs (#1490)
santisoler Jun 21, 2024
e322585
Change cron time to test new deployment of docs (#1492)
santisoler Jun 21, 2024
31fb6fe
Revert "Change cron time to test new deployment of docs (#1492)" (#1494)
santisoler Jun 21, 2024
f23c884
Fix F821 flake error: undefined variable (#1487)
santisoler Jun 24, 2024
fb10cda
Use Numpy rng in viscous remanent mag tests (#1453)
santisoler Jun 24, 2024
7f86584
Use Numpy rng in NSEM tests (#1450)
santisoler Jun 24, 2024
74ce4d7
Unwrap lines in release checklist (#1498)
santisoler Jun 25, 2024
95d6204
Improve instructions to update versions.json (#1500)
santisoler Jun 26, 2024
cf6034c
Add release notes for v0.22.0 (#1499)
santisoler Jun 26, 2024
6269fe6
Configure version warning banner in Sphinx (#1501)
santisoler Jun 28, 2024
0f5b437
Improve imports in natural source utils (#1503)
santisoler Jul 2, 2024
fc83aa7
Add release notes for v0.22.1 (#1508)
santisoler Jul 5, 2024
83bbbf8
Deploy to TestPyPI only on nightly builds (#1509)
santisoler Jul 5, 2024
c699a84
Add latest merged PR to release notes for v0.22.1 (#1510)
santisoler Jul 5, 2024
95a1232
Minor fixes to disclaimer in `pgi_utils.py` (#1512)
prisae Aug 20, 2024
43325c4
Fix misuse of the `requires` decorator in `code_utils.py` (#1513)
prisae Aug 20, 2024
dc281c2
Use lowercase simpeg in a few missing docstrings (#1519)
santisoler Aug 21, 2024
37d69cf
Pass `rtol` to SciPy solvers for SciPy>=1.12 (#1517)
prisae Aug 22, 2024
5e4b583
Make `pandas` & `scikit-learn` optional dependencies (#1514)
prisae Aug 23, 2024
7bb6088
Dask races (#1469)
jcapriot Aug 31, 2024
a95c421
Fix validate_ndarray_with_shape (#1523)
prisae Aug 31, 2024
c6ca137
Irls refactor (#1349)
domfournier Sep 2, 2024
291ca6c
Fix bug in GMM's `_check_weights` (#1526)
santisoler Sep 5, 2024
1245a24
Add release notes after v0.22.2 (#1533)
santisoler Sep 11, 2024
4eef48c
Minimum python version update (#1522)
jcapriot Sep 12, 2024
0164fac
Replace `ind_active` for `active_cells` in pf simulations (#1520)
santisoler Sep 18, 2024
048ef80
Move push to codecov to its own stage (#1493)
santisoler Sep 18, 2024
060993c
Minor fix in deprecation notice in docstrings (#1535)
santisoler Sep 19, 2024
437fa39
Replace `indActive` and `actInd` for `active_cells` in maps (#1534)
santisoler Sep 20, 2024
2bfa4d4
Update tests and examples to use the new `UpdateIRLS` (#1472)
domfournier Sep 25, 2024
282ddbb
Replace `indActive` in VRM simulations for `active_cells` (#1536)
santisoler Oct 4, 2024
95a9617
Test assigned values when passing deprecated args (#1544)
santisoler Oct 7, 2024
4ca99a7
Use random seed when using `make_synthetic_data` in tests (#1545)
santisoler Oct 7, 2024
9a07f0a
Minor improvements to `UpdateIRLS` class (#1529)
santisoler Oct 8, 2024
492f940
Replace `seed` for `random_seed` in directives (#1538)
santisoler Oct 8, 2024
5b53fae
Minor fixes to magnetic examples (#1547)
santisoler Oct 10, 2024
56bebdb
Support magnetic gradiometry using Choclo as engine (#1543)
santisoler Oct 10, 2024
56ce895
Update usage of `random_seed` in one example (#1549)
santisoler Oct 11, 2024
5b1bd39
Replace `seed` for `random_seed` in `model_builder` (#1548)
santisoler Oct 11, 2024
ca6740d
Replace old args for `active_cells` in EM static functions (#1550)
santisoler Oct 17, 2024
1a96710
Implement gravity equivalent sources with Choclo as engine (#1527)
santisoler Oct 18, 2024
702389e
Implement tmi derivatives with Choclo in magnetic simulation (#1553)
santisoler Oct 22, 2024
c88de7f
Implement magnetic eq sources with Choclo (#1552)
santisoler Oct 23, 2024
46b9001
Update links in PR template (#1554)
santisoler Oct 23, 2024
33c3dbf
Default solver (#1511)
jcapriot Oct 23, 2024
9d14515
Fixes for most recent geoana 0.7 (#1557)
jcapriot Oct 25, 2024
aec8889
Numpy2.0 and discretize 0.11.0 updates (#1558)
jcapriot Oct 25, 2024
695291c
Add missing seeds (#1560)
jcapriot Oct 26, 2024
7dbfc3a
Make use of meshes' `cell_bounds` property (#1559)
santisoler Oct 27, 2024
7538656
Fix docstring of ``SmoothnessFullGradient`` (#1562)
santisoler Oct 29, 2024
b801459
Fix math in docstring of eigenvalue_by_power_iteration (#1564)
santisoler Oct 29, 2024
6c5f7d5
Only warn about default solver when set in simulations (#1565)
santisoler Oct 30, 2024
78b5b5e
Augmented receivers for airborne NSEM (#1454)
dccowan Nov 1, 2024
30b3b42
Try uploading all the coverage files at once. (#1569)
jcapriot Nov 2, 2024
e210404
Re-implement distance weighting and add a strategy comparison (#1310)
thibaut-kobold Nov 2, 2024
a86146f
Remove empymod dependency (#1571)
jcapriot Nov 3, 2024
54b9933
Changlog for v0.23.0 (#1567)
santisoler Nov 3, 2024
f70741a
Add v0.23.0 to the version switcher (#1573)
santisoler Nov 3, 2024
8c04621
Fix date in release notes (#1574)
santisoler Nov 3, 2024
60e0c3a
Bugfix for TDEM magnetic dipole sources (#1572)
lheagy Nov 4, 2024
c6036df
Fix ubcstyle printout (#1577)
jcapriot Nov 13, 2024
50b79e2
Add docstring to `n_processes` in potential field simulations (#1578)
santisoler Nov 13, 2024
1d1d01c
Move simulation solver from base simulation to PDE simulation (#1582)
jcapriot Nov 19, 2024
e74bc52
Update and fix instructions to build the docs (#1583)
santisoler Nov 20, 2024
b6c84cc
Change location of `mesh` attribute (#1585)
jcapriot Nov 25, 2024
84719dc
Speed up most commonly used deriv/deriv2 in PGI (#1587)
johnweis0480 Nov 25, 2024
54db0a8
Improve dot products in `PGIsmallness.__call__` and update docstring …
johnweis0480 Nov 26, 2024
da9e284
Rename delete on model update (#1589)
jcapriot Dec 4, 2024
f697d24
update PGI Example plotting script for deprecated collections (#1595)
jcapriot Dec 17, 2024
6dd8800
Coverage upload on failed test (#1596)
jcapriot Dec 19, 2024
717f059
Use zizmor to lint GitHub Actions workflows (#1592)
santisoler Dec 20, 2024
d6819fa
Update installation instructions in docs (#1597)
santisoler Dec 20, 2024
c00b102
Set `permissions` in Actions to avoid zizmor's `excessive-permissions…
santisoler Jan 30, 2025
2e36896
Fix for removed quadrature function on new scipy versions (#1603)
jcapriot Jan 30, 2025
c3939c6
Merge branch 'main' into update_release_0.23.0.1
domfournier Feb 24, 2025
4447a9a
Change to private _delete_on_model_update
domfournier Feb 24, 2025
595fd8f
Merge branch 'develop' into GEOPY-2029
domfournier Feb 24, 2025
865f1c5
Black fixes
domfournier Feb 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 0 additions & 91 deletions .azure-pipelines/matrix.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .ci/azure/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
jobs:
- job:
pool:
vmImage: "ubuntu-latest"
displayName: Upload to Codecov
steps:
# Checkout simpeg repo. Codecov needs the repo in the file system for
# uploading coverage reports.
- checkout: self
displayName: "Checkout repository"

- task: DownloadPipelineArtifact@2
inputs:
patterns: "coverage-*/coverage-*.xml"
displayName: "Download coverage artifacts"

- bash: ls -la $(Pipeline.Workspace)/coverage-*/coverage-*.xml
displayName: "List downloaded coverage artifacts"

- bash: |
cp $(Pipeline.Workspace)/coverage-*/coverage-*.xml .
ls -la
displayName: "Copy coverage files"

- bash: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
displayName: "Install codecov cli"

- bash: |
cc_file_args=()
for report in coverage-*.xml; do
cc_file_args+=( " --file " "$report" )
done
./codecov --verbose upload-process "$cc_file_args"
displayName: "Upload coverage to codecov.io"
69 changes: 69 additions & 0 deletions .ci/azure/deploy-dev-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/usr/bin/env bash

# Push built docs to dev branch in simpeg-docs repository

set -ex #echo on and exit if any line fails

# ---------------------------
# Push new docs to dev branch
# ---------------------------
# Capture hash of last commit in simpeg
commit=$(git rev-parse --short HEAD)

# Clone the repo where we store the documentation (dev branch)
git clone -q --branch dev --depth 1 "https://${GH_TOKEN}@github.com/simpeg/simpeg-docs.git"
cd simpeg-docs

# Remove all files (but .git folder)
find . -not -path "./.git/*" -not -path "./.git" -delete

# Copy the built docs to the root of the repo
cp -r "$BUILD_SOURCESDIRECTORY"/docs/_build/html/. -t .

# Add new files
git add .

# List files in working directory and show git status
ls -la
git status

# Commit the new docs. Amend to avoid having a very large history.
message="Azure CI deploy dev from ${commit}"
echo -e "\nAmending last commit:"
git commit --amend --reset-author -m "$message"

# Make the push quiet just in case there is anything that could
# leak sensitive information.
echo -e "\nPushing changes to simpeg/simpeg-docs (dev branch)."
git push -fq origin dev 2>&1 >/dev/null
echo -e "\nFinished uploading doc files."

# ----------------
# Update submodule
# ----------------
# Need to fetch the gh-pages branch first (because we clone with shallow depth)
git fetch --depth 1 origin gh-pages:gh-pages

# Switch to the gh-pages branch
git switch gh-pages

# Update the dev submodule
git submodule update --init --recursive --remote dev

# Add updated submodule
git add dev

# List files in working directory and show git status
ls -la
git status

# Commit changes
message="Azure CI update dev submodule from ${commit}"
echo -e "\nMaking a new commit:"
git commit -m "$message"

# Make the push quiet just in case there is anything that could
# leak sensitive information.
echo -e "\nPushing changes to simpeg/simpeg-docs (gh-pages branch)."
git push -q origin gh-pages 2>&1 >/dev/null
echo -e "\nFinished updating submodule dev."
48 changes: 48 additions & 0 deletions .ci/azure/deploy-release-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/usr/bin/env bash

# Push built docs to gh-pages branch in simpeg-docs repository

set -ex #echo on and exit if any line fails

# Capture simpeg version
version=$(git tag --points-at HEAD)
if [[ -z $version ]]; then
echo "Version could not be obtained from tag. Exiting."
exit 1
fi

# Capture hash of last commit in simpeg
commit=$(git rev-parse --short HEAD)

# Clone the repo where we store the documentation
git clone -q --branch gh-pages --depth 1 "https://${GH_TOKEN}@github.com/simpeg/simpeg-docs.git"
cd simpeg-docs

# Move the built docs to a new dev folder
cp -r "$BUILD_SOURCESDIRECTORY/docs/_build/html" "$version"
cp "$BUILD_SOURCESDIRECTORY/docs/README.md" .

# Add .nojekyll if missing
touch .nojekyll

# Update latest symlink
rm -f latest
ln -s "$version" latest

# Add new docs and relevant files
git add "$version" README.md .nojekyll latest

# List files in working directory and show git status
ls -la
git status

# Commit the new docs.
message="Azure CI deploy ${version} from ${commit}"
echo -e "\nMaking a new commit:"
git commit -m "$message"

# Make the push quiet just in case there is anything that could
# leak sensitive information.
echo -e "\nPushing changes to simpeg/simpeg-docs."
git push -fq origin gh-pages 2>&1 >/dev/null
echo -e "\nFinished uploading generated files."
112 changes: 112 additions & 0 deletions .ci/azure/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
jobs:
# Build docs only on scheduled jobs or on a relase
- job: BuildDocs
condition: or(eq(variables['Build.Reason'], 'Schedule'), startsWith(variables['build.sourceBranch'], 'refs/tags/'))
pool:
vmImage: ubuntu-latest
variables:
python.version: "3.10"
timeoutInMinutes: 240
steps:
# Checkout simpeg repo.
# Sync tags and disable shallow depth to get the SimPEG version.
- checkout: self
fetchDepth: 0
fetchTags: true
displayName: Checkout repository (including tags)

- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH

- bash: .ci/azure/setup_env.sh
displayName: Setup SimPEG environment

- bash: |
source activate simpeg-test
make -C docs html
displayName: Building documentation

- task: PublishPipelineArtifact@1
inputs:
targetPath: $(Build.SourcesDirectory)/docs/_build/html
artifactName: built-docs
displayName: "Upload docs as artifact"

- job: DeployRelease
dependsOn: BuildDocs
condition: startsWith(variables['build.sourceBranch'], 'refs/tags/')
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 240
steps:
# Checkout simpeg repo.
# Sync tags and disable shallow depth to get the SimPEG version.
- checkout: self
fetchDepth: 0
fetchTags: true
displayName: Checkout repository (including tags)

- bash: |
git config --global user.name ${GH_NAME}
git config --global user.email ${GH_EMAIL}
git config --list | grep user.
displayName: "Configure git"
env:
GH_NAME: $(gh.name)
GH_EMAIL: $(gh.email)

- bash: |
mkdir -p docs/_build/html
displayName: "Create directory for built docs"

- task: DownloadPipelineArtifact@2
inputs:
artifact: built-docs
targetPath: docs/_build/html
displayName: "Download docs artifact"

# Upload release build of the docs to gh-pages branch in simpeg/simpeg-docs
- bash: .ci/azure/deploy-release-docs.sh
displayName: Push documentation to simpeg-docs
env:
GH_TOKEN: $(gh.token)

- job: DeployDev
dependsOn: BuildDocs
condition: eq(variables['Build.Reason'], 'Schedule') # run only scheduled triggers
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 240
steps:
# Checkout simpeg repo.
# Sync tags and disable shallow depth to get the SimPEG version.
- checkout: self
fetchDepth: 0
fetchTags: true
displayName: Checkout repository (including tags)

- bash: |
git config --global user.name ${GH_NAME}
git config --global user.email ${GH_EMAIL}
git config --list | grep user.
displayName: "Configure git"
env:
GH_NAME: $(gh.name)
GH_EMAIL: $(gh.email)

- bash: |
mkdir -p docs/_build/html
displayName: "Create directory for built docs"

- task: DownloadPipelineArtifact@2
inputs:
artifact: built-docs
targetPath: docs/_build/html
displayName: "Download docs artifact"

# Upload dev build of the docs to a dev branch in simpeg/simpeg-docs
# and update submodule in the gh-pages branch
- bash: .ci/azure/deploy-dev-docs.sh
displayName: Push documentation to simpeg-docs (dev branch)
env:
GH_TOKEN: $(gh.token)
Loading