Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
cff-version: 1.1.0
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Janoš
given-names: Jiří
orcid: https://orcid.org/0000-0001-5903-8538
- family-names: Hollas
given-names: Daniel
orcid: https://orcid.org/0000-0003-4075-6438
title: "PROMDENS: Promoted Density Approach code"
version: 1.0.2
version: 1.0.3
doi: 10.5281/zenodo.13619457
url: "https://github.com/PHOTOX/promdens"
date-released: 2025-11-28
date-released: 2026-04-27
type: software
license: mit
repository-code: https://github.com/PHOTOX/promdens
# preferred-citation:
# type: article
# authors:
Expand Down
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13619457.svg)](https://doi.org/10.5281/zenodo.13619457)
[![PyPI version](https://img.shields.io/pypi/v/promdens)](https://pypi.org/project/promdens/)
[![CI](https://github.com/PHOTOX/promdens/actions/workflows/ci.yml/badge.svg)](https://github.com/PHOTOX/promdens/actions/workflows/ci.yml)

Expand Down Expand Up @@ -275,13 +276,15 @@ URL = {https://doi.org/10.1021/acs.jpclett.4c02549}

and the PROMDENS code:
```bibtex
@software{PROMDENS2024,
author = {Janoš, Jiří and Hollas, Daniel},
month = nov,
title = {{PROMDENS: Promoted Density Approach code}},
url = {https://github.com/PHOTOX/promdens},
version = {1.0.1},
year = {2024}
@software{Promdens,
author = {Janoš, Jiří and Hollas, Daniel},
title = {PROMDENS: Promoted Density Approach code},
month = apr,
year = 2026,
publisher = {Zenodo},
version = {v1.0.3},
doi = {10.5281/zenodo.13619457},
url = {https://doi.org/10.5281/zenodo.13619457},
}
```

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "promdens"
version = "1.0.2"
version = "1.0.3"
authors = [
{ name="Jiri Janos", email="jiri.janos98@gmail.com" },
{ name="Daniel Hollas", email="danekhollas@gmail.com" },
Expand Down
24 changes: 5 additions & 19 deletions src/promdens/promdens.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,16 @@ def _get_cmap() -> plt.Colormap:

### functions and classes ###
def print_header():
print("\n#############################################################\n"
f"### {DESC} ###\n"
"### * * * * * ###\n"
"### version 1.0.2 | Jiri Janos 2025 ###\n"
"#############################################################\n")
print("\n#################################################################\n"
f"### {DESC} ###\n"
"### * * * * * ###\n"
"### version 1.0.3 (2026) | Jiri Janos, Daniel Hollas ###\n"
"#################################################################\n")


def print_footer():
print('\nPromoted Density Approach calculation finished.'
'\n - "May the laser pulses be with you."\n')
print(" %. \n"
" %. #%%%%%%%% \n"
" %. %% %%%%%%%%%%% \n"
" %. %%%%% %%%%%%%%%%%% \n"
" % %%%%%%%%% %%%%%%%%%%%%* \n"
" % %%%%%%%%% %%%%%%%%%%% \n"
" % %%%%%%% %%%%%%%% \n"
" %%%%%%%%%%% %%%%%%% \n"
" %%+%%%%%%%%% %%%%%%% \n"
" %%%%%%% %%%%%% \n"
" %%%%%%%%%% %%%%%% \n"
" %%%%%%%%%%%%%%% \n"
" %%%%%%%%%%%%%% \n"
" ")


def positive_int(str_value: str) -> int:
Expand Down
Loading