semigroups / Semigroups

The GAP package Semigroups
https://semigroups.github.io/Semigroups/
Other
23 stars 36 forks source link

WriteGenerators produces an empty file #59

Closed james-d-mitchell closed 8 years ago

james-d-mitchell commented 10 years ago

Originally reported by: ChrisJefferson (Bitbucket: ChrisJefferson, GitHub: ChrisJefferson)


Giving WriteGenerators the output of ReadGenerators seems to produce an empty file:

#!python
gap> LoadPackage("semigroups");
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading  orb 4.6 (orb - Methods to enumerate orbits)
by Juergen Mueller (http://www.math.rwth-aachen.de/~Juergen.Mueller),
   Max Neunhoeffer (http://www-groups.mcs.st-and.ac.uk/~neunhoef), and
   Felix Noeske (http://www.math.rwth-aachen.de/~Felix.Noeske).
Homepage: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/orb.html
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading  GRAPE 4.6.1 (GRaph Algorithms using PErmutation groups)
by Leonard H. Soicher (http://www.maths.qmul.ac.uk/~leonard/).
Homepage: http://www.maths.qmul.ac.uk/~leonard/grape/
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading  Semigroups 1.4 (Semigroups - Methods for semigroups)
by J. D. Mitchell (tinyurl.com/jdmitchell).
Homepage: http://www-groups.mcs.st-andrews.ac.uk/~jamesm/semigroups.php
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
true
gap> l := ReadGenerators("trans-4");
[ [ Transformation( [ 1, 1, 1, 1 ] ) ], [ Transformation( [ 1, 1, 1, 2 ] ) ], [ Transformation( [ 1, 1, 1 ] ) ], [ Transformation( [ 1, 1, 2, 2 ] ) ], [ Transformation( [ 1, 1, 2, 3 ] ) ], 
  [ Transformation( [ 1, 1, 2 ] ) ], [ Transformation( [ 1, 1, 3, 3 ] ) ], [ Transformation( [ 1, 1 ] ) ], [ Transformation( [ 1, 1, 4, 3 ] ) ], [ IdentityTransformation ], 
  [ Transformation( [ 1, 2, 4, 3 ] ) ], [ Transformation( [ 1, 3, 2, 2 ] ) ], [ Transformation( [ 1, 3, 4, 2 ] ) ], [ Transformation( [ 2, 1, 1, 1 ] ) ], [ Transformation( [ 2, 1, 1, 2 ] ) ], 
  [ Transformation( [ 2, 1, 1, 3 ] ) ], [ Transformation( [ 2, 1, 4, 3 ] ) ], [ Transformation( [ 2, 3, 1, 1 ] ) ], [ Transformation( [ 2, 3, 4, 1 ] ) ] ]
gap> WriteGenerators("outfile", l);
true
gap> quit;
caj@eno /raid1/caj/semigroup> wc -l outfile
0 outfile

james-d-mitchell commented 10 years ago

Original comment by James Mitchell (Bitbucket: james-d-mitchell, GitHub: james-d-mitchell):


You can use the 2.0 branch of the dev repo instead of the release version. It is pretty stable.

james-d-mitchell commented 10 years ago

Original comment by James Mitchell (Bitbucket: james-d-mitchell, GitHub: james-d-mitchell):


Duplicate of #50.