diff --git a/LICENSE.txt b/LICENSE.txt index 8e73798..a8e5cd6 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020-2023 Stefan Holst +Copyright (c) 2020-2025 Stefan Holst Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/conf.py b/docs/conf.py index 83cafc9..632fc96 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,11 +20,11 @@ sys.path.insert(0, os.path.abspath('../src')) # -- Project information ----------------------------------------------------- project = 'KyuPy' -copyright = '2020-2023, Stefan Holst' +copyright = '2020-2025, Stefan Holst' author = 'Stefan Holst' # The full version, including alpha/beta/rc tags -release = '0.0.5' +release = '0.0.6' # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index b8aaecb..0130ee1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "kyupy" -version = "0.0.5" +version = "0.0.6" authors = [ { name="Stefan Holst", email="mail@s-holst.de" }, ] diff --git a/src/kyupy/logic.py b/src/kyupy/logic.py index 3e97f8e..5cfbe92 100644 --- a/src/kyupy/logic.py +++ b/src/kyupy/logic.py @@ -114,7 +114,7 @@ def mvarray(*a): def mv_str(mva, delim='\n'): """Renders a given multi-valued array into a string. """ - sa = np.choose(mva, np.array([*'0X-1PRFN'], dtype=np.unicode_)) + sa = np.choose(mva, np.array([*'0X-1PRFN'], dtype=np.str_)) if not hasattr(mva, 'ndim') or mva.ndim == 0: return sa if mva.ndim == 1: return ''.join(sa) return delim.join([''.join(c) for c in sa.swapaxes(-1,-2)])