Skip to content

Commit 64ee630

Browse files
committed
fix: cannot have 'inf' in JSON file (changed to none)
bump version
1 parent 66b02a4 commit 64ee630

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pynite_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- combos: Functions for bulk importing load combinations
1010
"""
1111

12-
__version__ = "0.4.0"
12+
__version__ = "0.4.1"
1313

1414
from .reports import (
1515
extract_node_reactions,

src/pynite_tools/reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def extract_span_envelopes(
510510
delta = float(round_to_close_integer(envelope_val))
511511
span_length = float(round_to_close_integer(sub_member.L()))
512512
if delta == 0:
513-
ratio = float('inf')
513+
ratio = None
514514
else:
515515
ratio = abs(span_length / delta)
516516
span_envelope = {

0 commit comments

Comments
 (0)