Skip to content

Commit

Permalink
fix version bug (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Ludwig authored Oct 30, 2023
1 parent a5cc6c7 commit 9d89d2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions panama/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
from pathlib import Path

import toml

from .cli import cli
from .constants import PDGID_ERROR_VAL
from .read import read_DAT
from .run import CorsikaRunner
from .weights import add_weight_prompt, add_weight_prompt_per_event, get_weights


def get_version() -> str:
path = Path(__file__).resolve().parents[1] / "pyproject.toml"
with open(path) as f:
config = toml.loads(f.read())
return config["tool"]["poetry"]["version"]


__version__ = get_version()
__version__ = "0.6.1"

__all__ = (
"read_DAT",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "corsika-panama"
version = "0.6.0"
version = "0.6.1"
description = "PANdas And Multicore utils for corsikA7"
authors = ["Ludwig Neste <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 9d89d2c

Please sign in to comment.