Opened 2 years ago

Last modified 2 years ago

#23853 new defect

libgap can not use gap packages

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-8.1
Component: interfaces Keywords: thursdaysbdx
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by vdelecroix)

With gap pexpect interface

sage: gap.LoadPackage('"cryst"')
true
sage: gap.SpaceGroupIT(2,14)
SpaceGroupOnRightIT(2,14,'1')

With libgap

sage: libgap.LoadPackage("cryst")
true
sage: libgap.SpaceGroupIT(2,14)
Traceback (most recent call last):
...
AttributeError: No such attribute: SpaceGroupIT.

As noticed in #23854, there is the following work around

sage: libgap.eval('SpaceGroupIT')(2,14)
SpaceGroupOnRightIT(2,14,'1')

Change History (1)

comment:1 Changed 2 years ago by vdelecroix

  • Description modified (diff)
Note: See TracTickets for help on using tickets.