quant-met 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. {quant_met-0.1.1 → quant_met-0.1.2}/CHANGELOG.rst +10 -0
  2. {quant_met-0.1.1 → quant_met-0.1.2}/PKG-INFO +1 -1
  3. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/extra/versions.json +1 -1
  4. {quant_met-0.1.1 → quant_met-0.1.2}/pyproject.toml +1 -1
  5. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/cli/q_analysis.py +2 -1
  6. {quant_met-0.1.1 → quant_met-0.1.2}/.coveragerc +0 -0
  7. {quant_met-0.1.1 → quant_met-0.1.2}/.github/codspeed.yml +0 -0
  8. {quant_met-0.1.1 → quant_met-0.1.2}/.github/dependabot.yml +0 -0
  9. {quant_met-0.1.1 → quant_met-0.1.2}/.github/workflows/check_version.yml +0 -0
  10. {quant_met-0.1.1 → quant_met-0.1.2}/.github/workflows/integration_tests.yml +0 -0
  11. {quant_met-0.1.1 → quant_met-0.1.2}/.github/workflows/linting.yml +0 -0
  12. {quant_met-0.1.1 → quant_met-0.1.2}/.github/workflows/publish.yml +0 -0
  13. {quant_met-0.1.1 → quant_met-0.1.2}/.github/workflows/typing.yml +0 -0
  14. {quant_met-0.1.1 → quant_met-0.1.2}/.github/workflows/unit_tests.yml +0 -0
  15. {quant_met-0.1.1 → quant_met-0.1.2}/.gitignore +0 -0
  16. {quant_met-0.1.1 → quant_met-0.1.2}/.pre-commit-config.yaml +0 -0
  17. {quant_met-0.1.1 → quant_met-0.1.2}/.readthedocs.yaml +0 -0
  18. {quant_met-0.1.1 → quant_met-0.1.2}/.vscode/settings.json +0 -0
  19. {quant_met-0.1.1 → quant_met-0.1.2}/LICENSE.txt +0 -0
  20. {quant_met-0.1.1 → quant_met-0.1.2}/Makefile +0 -0
  21. {quant_met-0.1.1 → quant_met-0.1.2}/README.md +0 -0
  22. {quant_met-0.1.1 → quant_met-0.1.2}/changelog.d/scriv.ini +0 -0
  23. {quant_met-0.1.1 → quant_met-0.1.2}/check_version.sh +0 -0
  24. {quant_met-0.1.1 → quant_met-0.1.2}/docs/Makefile +0 -0
  25. {quant_met-0.1.1 → quant_met-0.1.2}/docs/make.bat +0 -0
  26. {quant_met-0.1.1 → quant_met-0.1.2}/docs/requirements.txt +0 -0
  27. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_static/custom.css +0 -0
  28. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_templates/autosummary/attribute.rst +0 -0
  29. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_templates/autosummary/class.rst +0 -0
  30. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_templates/autosummary/function.rst +0 -0
  31. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_templates/autosummary/method.rst +0 -0
  32. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_templates/autosummary/module.rst +0 -0
  33. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/_templates/autosummary/property.rst +0 -0
  34. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/changelog.rst +0 -0
  35. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/conf.py +0 -0
  36. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/development.rst +0 -0
  37. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/dec-graphene.HSX +0 -0
  38. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/decorated_graphene_nonint.ipynb +0 -0
  39. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/decorated_graphene_scf.ipynb +0 -0
  40. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/decorated_graphene_sisl.ipynb +0 -0
  41. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/example-crit-temp.yaml +0 -0
  42. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/example-q-analysis-dec-graphene.yaml +0 -0
  43. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/example-q-loop-dec-graphene.yaml +0 -0
  44. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/example-q-loop-from-scratch.yaml +0 -0
  45. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/example-q-loop.yaml +0 -0
  46. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/example-scf.yaml +0 -0
  47. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/hamiltonian.HSX +0 -0
  48. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/examples/test_sisl.ipynb +0 -0
  49. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/index.rst +0 -0
  50. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/bdg.rst +0 -0
  51. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/cli.rst +0 -0
  52. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +0 -0
  53. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +0 -0
  54. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +0 -0
  55. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.bdg.bdg_hamiltonian.rst +0 -0
  56. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.bdg.calculate_current_density.rst +0 -0
  57. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.bdg.calculate_superfluid_weight.rst +0 -0
  58. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.bdg.diagonalize_bdg.rst +0 -0
  59. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.bdg.gap_equation.rst +0 -0
  60. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.cli.cli.rst +0 -0
  61. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.quantum_geometry.calculate_qgt.rst +0 -0
  62. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/generated/quant_met.routines.self_consistency_loop.rst +0 -0
  63. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/index.rst +0 -0
  64. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/parameters.rst +0 -0
  65. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/quantum_geometry.rst +0 -0
  66. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/reference/routines.rst +0 -0
  67. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/user_guide/first-scf.rst +0 -0
  68. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/user_guide/search_T_C.rst +0 -0
  69. {quant_met-0.1.1 → quant_met-0.1.2}/docs/source/user_guide.rst +0 -0
  70. {quant_met-0.1.1 → quant_met-0.1.2}/justfile +0 -0
  71. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/__init__.py +0 -0
  72. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/bdg/__init__.py +0 -0
  73. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/bdg/bdg_hamiltonian.py +0 -0
  74. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/bdg/gap_equation.py +0 -0
  75. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/bdg/sc_current.py +0 -0
  76. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/bdg/superfluid_weight.py +0 -0
  77. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/cli/__init__.py +0 -0
  78. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/cli/crit_temp.py +0 -0
  79. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/cli/main.py +0 -0
  80. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/cli/q_loop.py +0 -0
  81. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/cli/scf.py +0 -0
  82. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/parameters/__init__.py +0 -0
  83. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/parameters/control.py +0 -0
  84. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/parameters/main.py +0 -0
  85. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/quantum_geometry/__init__.py +0 -0
  86. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/quantum_geometry/qgt.py +0 -0
  87. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/routines/__init__.py +0 -0
  88. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/routines/analyse_q_data.py +0 -0
  89. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/routines/loop_over_q.py +0 -0
  90. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/routines/search_crit_temp.py +0 -0
  91. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/routines/self_consistency.py +0 -0
  92. {quant_met-0.1.1 → quant_met-0.1.2}/src/quant_met/utils.py +0 -0
  93. {quant_met-0.1.1 → quant_met-0.1.2}/tests/conftest.py +0 -0
  94. {quant_met-0.1.1 → quant_met-0.1.2}/tests/test_bdg.py +0 -0
  95. {quant_met-0.1.1 → quant_met-0.1.2}/tests/test_scf.py +0 -0
  96. {quant_met-0.1.1 → quant_met-0.1.2}/uv.lock +0 -0
@@ -1,4 +1,14 @@
1
1
 
2
+ .. _changelog-0.1.2:
3
+
4
+ 0.1.2 — 2025-07-27
5
+ ------------------
6
+
7
+ Fixed
8
+ ^^^^^
9
+
10
+ - q-analysis CLI routine deletes the result file only if it exists
11
+
2
12
  .. _changelog-0.1.1:
3
13
 
4
14
  0.1.1 — 2025-07-27
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quant-met
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Calculate superconductivity in flat-band systems.
5
5
  Author-email: Tjark Sievers <tjarksievers@icloud.com>
6
6
  License-File: LICENSE.txt
@@ -5,7 +5,7 @@
5
5
  },
6
6
  {
7
7
  "name": "0.1 (stable)",
8
- "version": "0.1.1",
8
+ "version": "0.1.2",
9
9
  "url": "https://quant-met.tjarksievers.de/en/stable/",
10
10
  "preferred": true
11
11
  }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "quant-met"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "Calculate superconductivity in flat-band systems."
5
5
  authors = [{name="Tjark Sievers", email="tjarksievers@icloud.com"}]
6
6
  readme = "README.md"
@@ -44,7 +44,8 @@ def q_analysis(parameters: Parameters) -> None:
44
44
  ) = routines.get_lengths_vs_temp(q_data=q_data, hamiltonian=hamiltonian)
45
45
 
46
46
  result_file = Path(f"{parameters.control.outdir}/{parameters.control.prefix}_sc_lengths.hdf5")
47
- result_file.unlink()
47
+ if result_file.exists():
48
+ result_file.unlink()
48
49
  lengths_vs_temp.to_hdf(result_file, key="lengths_vs_temp")
49
50
  gap_and_current_fig.savefig(
50
51
  f"{parameters.control.outdir}/{parameters.control.prefix}_gap_and_current_vs_q.pdf",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes