Compare commits

..

No commits in common. 'devel' and 'main' have entirely different histories.
devel ... main

  1. 2
      LICENSE.txt
  2. 4
      docs/conf.py
  3. 2
      pyproject.toml
  4. 2
      src/kyupy/logic.py

2
LICENSE.txt

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020-2025 Stefan Holst
Copyright (c) 2020-2023 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

4
docs/conf.py

@ -20,11 +20,11 @@ sys.path.insert(0, os.path.abspath('../src')) @@ -20,11 +20,11 @@ sys.path.insert(0, os.path.abspath('../src'))
# -- Project information -----------------------------------------------------
project = 'KyuPy'
copyright = '2020-2025, Stefan Holst'
copyright = '2020-2023, Stefan Holst'
author = 'Stefan Holst'
# The full version, including alpha/beta/rc tags
release = '0.0.6'
release = '0.0.5'
# -- General configuration ---------------------------------------------------

2
pyproject.toml

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
[project]
name = "kyupy"
version = "0.0.6"
version = "0.0.5"
authors = [
{ name="Stefan Holst", email="mail@s-holst.de" },
]

2
src/kyupy/logic.py

@ -114,7 +114,7 @@ def mvarray(*a): @@ -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.str_))
sa = np.choose(mva, np.array([*'0X-1PRFN'], dtype=np.unicode_))
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)])

Loading…
Cancel
Save