You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only way to change initialization options like gap_root as well as others is to create a new Gap instance like Gap(gap_root=...), and same for other options.
However, it should be possible to assign to the .gap_root property, as well as others such as .workspace on the default Gap instance, as long as the GAP interpreter hasn't been initialized yet. E.g.,
>>>fromgappyimportgap>>>gap.gap_root='/path/to/gap/root'>>>gap.eval('1 + 1') # gets initialized here
This might be a simpler alternative to #5, and do away with exposing the possibility of creating new Gap instances altogether (at least, until and unless it is possible to have multiple GAP interpreters in a single process).
The text was updated successfully, but these errors were encountered:
Currently the only way to change initialization options like
gap_root
as well as others is to create a newGap
instance likeGap(gap_root=...)
, and same for other options.However, it should be possible to assign to the
.gap_root
property, as well as others such as.workspace
on the defaultGap
instance, as long as the GAP interpreter hasn't been initialized yet. E.g.,This might be a simpler alternative to #5, and do away with exposing the possibility of creating new
Gap
instances altogether (at least, until and unless it is possible to have multiple GAP interpreters in a single process).The text was updated successfully, but these errors were encountered: