Skip to content

Commit 104f920

Browse files
committed
Move TCAP1D NotImplementedError to __init__ so import succeeds
1 parent 16dea37 commit 104f920

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/pathsim_chem/tritium/tcap.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
# BLOCKS ================================================================================
1313

1414
class TCAP1D(ODE):
15-
"""This block models the Thermal Cycle Absorption Process (TCAP) in 1d.
15+
"""This block models the Thermal Cycle Absorption Process (TCAP) in 1d.
1616
17-
The model uses a 1d finite difference spatial discretization to construct
17+
The model uses a 1d finite difference spatial discretization to construct
1818
a nonlinear ODE internally as proposed in
1919
2020
https://doi.org/10.1016/j.ijhydene.2023.03.101
2121
22-
2322
"""
24-
raise NotImplementedError("TCAP1D block is currently not impolemented!")
23+
24+
def __init__(self, *args, **kwargs):
25+
raise NotImplementedError("TCAP1D block is not yet implemented")
2526

2627

0 commit comments

Comments
 (0)