Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gfrn committed Sep 12, 2022
2 parents aac7825 + 1708327 commit 05ec9ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![Latest tag](https://img.shields.io/github/tag/lnls-sirius/pydrs.svg?style=flat)
[![Latest release](https://img.shields.io/github/release/lnls-sirius/pydrs.svg?style=flat)](https://github.com/lnls-sirius/pydrs/releases)
[![PyPI version fury.io](https://badge.fury.io/py/pydrs.svg)](https://pypi.python.org/pypi/pydrs/)
[![Read the Docs](https://readthedocs.org/projects/spack/badge/?version=latest)](https://lnls-sirius.github.io/pydrs/)
[![Read the Docs](https://readthedocs.org/projects/spack/badge/?version=latest)](https://cnpem-sei.github.io/pydrs/)

## What is PyDRS?

Expand Down
10 changes: 10 additions & 0 deletions src/pydrs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2125,6 +2125,16 @@ def get_dsp_modules_bank(
"coeffs"
].append(dsp_coeffs)

if return_floathex:
dsp_modules_bank[dsp_classes_names[dsp_class]]["coeffs"] = [
dsp_coeffs,
dsp_coeffs_hex,
]
else:
dsp_modules_bank[dsp_classes_names[dsp_class]][
"coeffs"
] = dsp_coeffs

if print_modules:
prettier_print(dsp_modules_bank)

Expand Down

0 comments on commit 05ec9ef

Please sign in to comment.