Skip to content

Commit

Permalink
Merge pull request #71 from sebhmg/develop
Browse files Browse the repository at this point in the history
merge release to develop
  • Loading branch information
sebhmg authored Jan 10, 2025
2 parents fef7607 + 2d8027c commit 7fc5071
Show file tree
Hide file tree
Showing 43 changed files with 313 additions and 231 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python_deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
call-workflow-pypi-publish:
name: Publish development pypi package (JFrog Artifactory and TestPyPI)
name: Publish development pypi package (JFrog Artifactory, TestPyPI)
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@main
with:
package-manager: 'poetry'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
call-workflow-pypi-release:
name: Publish production PyPI package (JFrog Artifactory and PyPI)
name: Publish production PyPI package (JFrog Artifactory, PyPI)
if: ${{ github.event_name == 'release' || github.event.inputs.publish-pypi == 'true' }}
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@main
with:
Expand Down
6 changes: 4 additions & 2 deletions .idea/copyright/MiraGeoscience.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/scopes/sources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ repos:
- id: poetry-check
args: [--lock]
- repo: https://github.com/hadialqattan/pycln
rev: v2.4.0
rev: v2.5.0
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.9.0
hooks:
- id: ruff
args:
Expand All @@ -31,7 +31,7 @@ repos:
# - --unsafe-fixes
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: [
Expand All @@ -43,15 +43,15 @@ repos:
]
exclude: ^(docs|las_geoh5-assets)/
- repo: https://github.com/codingjoe/relint
rev: 3.2.0
rev: 3.3.1
hooks:
- id: relint
args: [-W] # to fail on warnings
- repo: http://github.com/MiraGeoscience/pre-commit-hooks
rev: v1.0.1
rev: v1.0.2
hooks:
- id: check-copyright
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
files: (^package\.rst|^LICENSE|^README(|-dev)\.rst|\.py|\.pyi)$
exclude: (^\.|^docs/)
- id: prepare-commit-msg
- id: check-commit-msg
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Mira Geoscience
Copyright (c) 2023-2025 Mira Geoscience

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ Third Party Software notices and/or additional terms and conditions are located
Copyright
---------

Copyright (c) 2024 Mira Geoscience
Copyright (c) 2023-2025 Mira Geoscience
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ and its few dependencies together.

This is as simple opening a miniforge terminal and running the following commands

.. code-block::
.. code-block:: bash
conda create -n "las-geoh5" python=3.10
conda activate las-geoh5
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Basic usage
The main entry points to the various modules are ``ui.json`` file (stored under the ``las_geoh5-assets`` directory).
The ``ui.json`` has the dual purpose of (1) rendering a user-interface from Geoscience ANALYST and (2) storing the input
parameters chosen by the user for the program to run. To learn more about the ui.json interface visit the
`UIJson documentation <https://geoh5py.readthedocs.io/en/v0.8.0-rc.1/content/uijson_format/usage.html#usage-with-geoscience-analyst-pro>`_ page.
`UIJson documentation <https://mirageoscience-geoh5py.readthedocs-hosted.com/en/stable/content/uijson_format/usage.html#usage-with-geoscience-analyst-pro>`_ page.


User-interface
Expand Down
15 changes: 9 additions & 6 deletions las_geoh5-assets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 package.
#
# All rights reserved.
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2023-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
6 changes: 3 additions & 3 deletions las_geoh5-assets/uijson/import_las_files.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"collar_x_name": {
"main": true,
"label": "Easting",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar easting. Does not include the .UNIT extension.",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar easting. Does not include the .UNIT extension.",
"value": "X",
"group": "Collar mnemonics",
"optional": true,
Expand All @@ -58,15 +58,15 @@
"collar_y_name": {
"main": true,
"label": "Northing",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar northing. Does not include the .UNIT extension.",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar northing. Does not include the .UNIT extension.",
"value": "Y",
"group": "Collar mnemonics",
"optional": true,
"enabled": false
},
"collar_z_name": {
"main": true,
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar elevation. Does not include the .UNIT extension.",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar elevation. Does not include the .UNIT extension.",
"label": "Elevation",
"value": "ELEV",
"group": "Collar mnemonics",
Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las_geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2023-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/export_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16 changes: 9 additions & 7 deletions las_geoh5/export_files/driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/export_files/uijson.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from copy import deepcopy

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/export_las.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/import_directories/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16 changes: 9 additions & 7 deletions las_geoh5/import_directories/driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/import_directories/uijson.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from copy import deepcopy

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/import_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16 changes: 9 additions & 7 deletions las_geoh5/import_files/driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations

Expand Down
15 changes: 9 additions & 6 deletions las_geoh5/import_files/params.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 package.
#
# All rights reserved.
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from pydantic import BaseModel, ConfigDict, model_validator

Expand Down
Loading

0 comments on commit 7fc5071

Please sign in to comment.