On Wednesday, 15 July 2015 12:28:08 UTC+1, Nathann Cohen wrote: > > Hello, > > > echo 'quit;' | magma -b -n > > Actually, the test will appear in a Python script (and we can use any > of Sage's functions). We can of course run this external command, but > wouldn't there be an easier way to test this? To illustrate, the test > for Cplex is the following: > > try: > MixedIntegerLinearProgram(solver='cplex') > <add cplex to the list> > except: > pass > > It also checks for possible problems if the license is misinstalled of > expired. I just tried to run magma on my computer and it raised an > exception. Do you think that we could 'detect' magma better by running > something like that? > > try: > magma(1) > <add cplex to the list> > except: > pass > > yes, this looks about right. Also, for more of this:
sage: mathematica(10) 10 sage: matlab(10) 10 sage: magma(10) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [...] Nathann > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.