Skip to content

Commit

Permalink
pypi version 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fligt committed Aug 15, 2024
1 parent 15b2e99 commit 1931fd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebooks/30_parsing-bytes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
"id": "b580621e-76f3-4ea8-8dbd-e7830bbcd920",
"metadata": {},
"source": [
"To enable the parsing of variable length strings and tables I created an *extended format string syntax* that besides standard struct format characters includes a capital `'S'` and `'T'` for strings and tables, and `'X'` for skipping bytes. Both `'S'` and `'X'` can be prefixed with and integer multiplier that indicates how many strings and bytes need to be parsed. These additional characters need to be separated from standard struct format strings with dashes `'-'`. Another important extension of the syntax is `'Z'`. This indicates at which position the actual spectral data of 2048 photon counts should be read. "
"To enable the parsing of variable length strings and tables I created an *extended format string syntax* that besides standard struct format characters includes a capital `'S'` and `'T'` for strings and tables, and `'X'` for skipping bytes. Both `'S'` and `'X'` can be prefixed with and integer multiplier that indicates how many strings and bytes need to be parsed. For example `3X` will skip 3 bytes. If you need to skip an unknown amount of bytes at the end of an array you can put a wildcard `*X` multiplier at the end of the xformat string. These additional characters need to be separated from standard struct format strings with dashes `'-'`. Another important extension of the syntax is `'Z'`. This indicates at which position the actual spectral data of 2048 photon counts should be read. "
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion read_pdz/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.2"
__version__ = "0.0.3"

from .reader import *
from .jpg_extractor import *
Expand Down
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[DEFAULT]
repo = read_pdz
lib_name = read_pdz
version = 0.0.2
version = 0.0.3
min_python = 3.7
license = mit
black_formatting = False
Expand Down

0 comments on commit 1931fd9

Please sign in to comment.