Skip to content

Commit 2173d87

Browse files
authored
chore: type ignore for _matrix.py (#2317)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Added type hinting suppression in the `_getallroute` method to address type checking issues. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent a6a93a5 commit 2173d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reacnetgenerator/_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _getallroute(self, allmoleculeroute):
7373
names = names[names[:, 0] != names[:, 1]]
7474
if names.size > 0:
7575
equations = np.unique(names, return_counts=True, axis=0)
76-
return zip(equations[0].tolist(), equations[1].tolist())
76+
return zip(equations[0].tolist(), equations[1].tolist()) # type: ignore
7777
return []
7878

7979
def _printtable(self, allroute, timeaxis=None):

0 commit comments

Comments
 (0)