From db4ba125bb3447194577146b730820cdf5e4bc32 Mon Sep 17 00:00:00 2001 From: jhdark Date: Sun, 9 Mar 2025 18:04:35 -0400 Subject: [PATCH 1/3] rename folder --- src/{vtk2dolfinx => openmc2dolfinx}/vtk_reader.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{vtk2dolfinx => openmc2dolfinx}/vtk_reader.py (100%) diff --git a/src/vtk2dolfinx/vtk_reader.py b/src/openmc2dolfinx/vtk_reader.py similarity index 100% rename from src/vtk2dolfinx/vtk_reader.py rename to src/openmc2dolfinx/vtk_reader.py From 0cb197dad750a36720558bca73243a4fa6cbc277 Mon Sep 17 00:00:00 2001 From: jhdark Date: Sun, 9 Mar 2025 18:04:46 -0400 Subject: [PATCH 2/3] rename repo --- .github/pull_request_template.md | 2 +- .github/workflows/ci_conda.yml | 2 +- .github/workflows/ci_docker.yml | 2 +- README.md | 4 ++-- codecov.yml | 2 +- pyproject.toml | 12 ++++++------ 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 618ceda..6ee8052 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,7 +4,7 @@ Describe the big picture of your changes here to communicate to the maintainers ## Types of changes -What types of changes does your code introduce to vtk2dolfinx? +What types of changes does your code introduce to openmc2dolfinx? - [ ] Bugfix (non-breaking change which fixes an issue) diff --git a/.github/workflows/ci_conda.yml b/.github/workflows/ci_conda.yml index 96354ef..02481cf 100644 --- a/.github/workflows/ci_conda.yml +++ b/.github/workflows/ci_conda.yml @@ -30,7 +30,7 @@ jobs: - name: Run tests shell: bash -l {0} run: | - pytest test/ --cov vtk2dolfinx --cov-report xml --cov-report term + pytest test/ --cov openmc2dolfinx --cov-report xml --cov-report term - name: Upload to codecov uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml index cea607c..70513c8 100644 --- a/.github/workflows/ci_docker.yml +++ b/.github/workflows/ci_docker.yml @@ -19,7 +19,7 @@ jobs: - name: Run tests run: | - python3 -m pytest test/ --cov vtk2dolfinx --cov-report xml --cov-report term + python3 -m pytest test/ --cov openmc2dolfinx --cov-report xml --cov-report term - name: Upload to codecov uses: codecov/codecov-action@v5 diff --git a/README.md b/README.md index 73a7254..6104516 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# vtk2dolfinx -A repository to handle the conversion of functions in vtk files to dolfinx functions +# openmc2dolfinx +A repository to handle the conversion of results in OpenMC vtk files to dolfinx functions diff --git a/codecov.yml b/codecov.yml index 6d24294..938f43c 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,2 +1,2 @@ ignore: - - "vtk2dolfinx/_version.py" # ignore version file \ No newline at end of file + - "openmc2dolfinx/_version.py" # ignore version file \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 11a4c25..3752af5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,8 @@ authors = [ { name = "James Dark", email = "darkj385@mit.edu"}, ] dynamic = ["version"] -name = "vtk2dolfinx" -description = "Convert .vtk files to dolfinx functions" +name = "openmc2dolfinx" +description = "Convert OpenMC .vtk files to dolfinx functions" readme = "README/md" requires-python = ">=3.9" license = { file = "LICENSE" } @@ -32,12 +32,12 @@ lint = ["ruff", "mypy"] docs = ["sphinx", "sphinx-book-theme", "sphinx-design", "matplotlib"] [project.urls] -Homepage = "https://github.com/festim-dev/vtk2dolfinx" -Issues = "https://github.com/festim-dev/vtk2dolfinx/issues" +Homepage = "https://github.com/festim-dev/openmc2dolfinx" +Issues = "https://github.com/festim-dev/openmc2dolfinx/issues" [tool.setuptools_scm] -write_to = "src/vtk2dolfinx/_version.py" +write_to = "src/openmc2dolfinx/_version.py" [tool.mypy] # Suggested at https://blog.wolt.com/engineering/2021/09/30/professional-grade-mypy-configuration/ @@ -74,7 +74,7 @@ ignore = ["UP007", "RUF012"] allowed-confusables = ["σ"] [tool.ruff.lint.isort] -known-first-party = ["vtk2dolfinx"] +known-first-party = ["openmc2dolfinx"] known-third-party = [ "basix", "dolfinx", From eab62104d221f806da43a8910b9add5c8e4c0fbc Mon Sep 17 00:00:00 2001 From: jhdark Date: Sun, 9 Mar 2025 18:04:57 -0400 Subject: [PATCH 3/3] ignore vsc settings --- .vscode/settings.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9561437 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "[python]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "charliermarsh.ruff" + }, + "python.testing.pytestArgs": [ + "test" + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true +} \ No newline at end of file