# cheyneh/permpy

fixing some minor issues with permset import

cheyneh committed Jul 14, 2018
1 parent c32202e commit 6943923b77f53276ebb1cf96fdece0a7600fcef4
Showing with 8 additions and 17 deletions.
1. +0 −9 permpy/permset.py
2. +7 −7 permpy/permutation.py
3. +1 −1 setup.py
 @@ -162,15 +162,6 @@ def get_cubehelix(gamma=1, start=1, rot=-1, hue=1, light=1, dark=0): return ax def show_all(self): """The default representation doesn't print the entire set, this function does."""
 @@ -1194,7 +1194,7 @@ def all_extensions(self): l = list(self[:]) l.insert(j, i-0.5) S.add(Permutation(l)) return permset.PermSet(S) return permpy.permset.PermSet(S) def all_extensions_track_index(self, ti): L = [] @@ -1289,7 +1289,7 @@ def children(self): return self.shrink_by_one() def downset(self): return permset.PermSet([self]).downset() return permpy.permset.PermSet([self]).downset() def sum_indecomposable_sequence(self): S = self.downset() @@ -1302,7 +1302,7 @@ def sum_indec_bdd_by(self, n): l = [len([s for s in S if not s.sum_decomposable()])]+l if l[0] > n: return False S = list(permset.PermSet(S).layer_down()) S = list(permpy.permset.PermSet(S).layer_down()) return True def contains_locations(self, Q): @@ -1371,10 +1371,10 @@ def contract_bonds(self): return P def all_syms(self): S = permset.PermSet([self]) S = S.union(permset.PermSet([P.reverse() for P in S])) S = S.union(permset.PermSet([P.complement() for P in S])) S = S.union(permset.PermSet([P.inverse() for P in S])) S = permpy.permset.PermSet([self]) S = S.union(permpy.permset.PermSet([P.reverse() for P in S])) S = S.union(permpy.permset.PermSet([P.complement() for P in S])) S = S.union(permpy.permset.PermSet([P.inverse() for P in S])) return S def is_representative(self):
 @@ -7,7 +7,7 @@ setup(name='permpy', version='0.0.2', version='0.0.3', description='Permutation (patterns) workshop in Python', author='Cheyne Homberger and Jay Pantone', author_email='cheyne.homberger@gmail.com',