File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ def __init__(
5959 neuron ,
6060 type_one_side ,
6161 exclude_types ,
62+ True ,
6263 )
6364 self .descrpt_type = self ._get_descrpt_type ()
64- self .is_pt = True
6565
6666 supported_descrpt_type = (
6767 "Atten" ,
Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ def __init__(
7878 neuron ,
7979 type_one_side ,
8080 exclude_types ,
81+ False ,
8182 )
8283
8384 self .descrpt_type = self ._get_descrpt_type ()
84- self .is_pt = False
8585 """Constructor."""
8686 self .graph = graph
8787 self .graph_def = graph_def
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ def __init__(
2525 neuron ,
2626 type_one_side ,
2727 exclude_types ,
28+ is_pt ,
2829 ) -> None :
2930 """Constructor."""
3031 super ().__init__ ()
@@ -34,10 +35,10 @@ def __init__(
3435 self .neuron = neuron
3536 self .type_one_side = type_one_side
3637 self .exclude_types = exclude_types
38+ self .is_pt = is_pt
3739
3840 """Need to be initialized in the subclass."""
3941 self .descrpt_type = "Base"
40- self .is_pt = True
4142
4243 self .sel_a = []
4344 self .rcut = 0.0
You can’t perform that action at this time.
0 commit comments