@@ -28,6 +28,7 @@ class NautyExecutable(Executable):
28
28
sage: NautyExecutable('converseg').is_present() # needs nauty
29
29
FeatureTestResult('nauty_converseg', True)
30
30
"""
31
+
31
32
def __init__ (self , name ):
32
33
r"""
33
34
TESTS::
@@ -36,10 +37,13 @@ def __init__(self, name):
36
37
sage: isinstance(NautyExecutable('geng'), NautyExecutable)
37
38
True
38
39
"""
39
- Executable .__init__ (self , name = f"nauty_{ name } " ,
40
- executable = f"{ SAGE_NAUTY_BINS_PREFIX } { name } " ,
41
- spkg = 'nauty' ,
42
- type = 'standard' )
40
+ Executable .__init__ (
41
+ self ,
42
+ name = f"nauty_{ name } " ,
43
+ executable = f"{ SAGE_NAUTY_BINS_PREFIX } { name } " ,
44
+ spkg = "nauty" ,
45
+ type = "standard" ,
46
+ )
43
47
44
48
45
49
class Nauty (JoinFeature ):
@@ -53,6 +57,7 @@ class Nauty(JoinFeature):
53
57
sage: Nauty().is_present() # needs nauty
54
58
FeatureTestResult('nauty', True)
55
59
"""
60
+
56
61
def __init__ (self ):
57
62
r"""
58
63
TESTS::
@@ -61,9 +66,22 @@ def __init__(self):
61
66
sage: isinstance(Nauty(), Nauty)
62
67
True
63
68
"""
64
- JoinFeature .__init__ (self , "nauty" ,
65
- [NautyExecutable (name )
66
- for name in ('directg' , 'gentourng' , 'geng' , 'genbg' , 'gentreeg' , 'genktreeg' )])
69
+ JoinFeature .__init__ (
70
+ self ,
71
+ "nauty" ,
72
+ [
73
+ NautyExecutable (name )
74
+ for name in (
75
+ "directg" ,
76
+ "gentourng" ,
77
+ "geng" ,
78
+ "genbg" ,
79
+ "gentreeg" ,
80
+ "genktreeg" ,
81
+ "genposetg" ,
82
+ )
83
+ ],
84
+ )
67
85
68
86
69
87
def all_features ():
0 commit comments