-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better support for output formatting used by external WL packages #323
Comments
Yes, it is the same as for normal Wolfram Kernel. I checked your package, it seems it does not take advantage of a standard paclets, which can be installed from a single file (using However, I located $UserBaseDirectory // SystemOpen and copied xAct folder to Wolfram/Applications. Then after a restart I checked it hanged, it aborted and evaluated again. After that it seems is is working, however, not all options for the formatting are supported in WLJS We need to check it more carefully. But in general the answer is yes, all WL packages can be loaded as usual. |
Okay, I believe I did as you said. When I ran "<<xAct
Then upon trying to run "DefTensor[U[-a,-b],M4,Antisymmetric[{-a,-b}]]" as you did, I received the following message:
And nothing printed. |
If I am not mistaken, you need to run more functions from the package to define some rules on There is a documentation in a form of presentation, you can try to follow it.
It looks like it is a feature of this package. It quite often returns nothing, and sometimes prints the results. A bit unusual.
Hope it won't clash. This is a common problem in Mathematica/Wolfram, where some symbols can be shadowed. At least, when I was trying out some things with xTensor, it seemed it did not introduce any troubles. |
Well, ultimately my goal was to use the HiGGS package (as a dependent on the aforementioned xACT), and I'm confident that I got everything installed correctly, but as you said — it seems WLJS isn't yet at a point where it supports all of the formatting for different packages. I hope you're able to add universal formatting support in the future, but for now it seems I'll have to look into just getting a Wolfram license for this. Thank you for the support in the meantime. |
You are welcome :) I will try to experiment with HiGGS, it might be not a big issue to support necessary symbols for formatting. Unfortunately, I can't predict when it might be ready. It is better for your research to use more reliable tools in this sense. PS: In principle Jupyter Notebook (or VSCode extension) should also output print messages, but in a form of images. I don't know, but it might suit your goals... |
I just gave Jupyter Labs (via Anaconda) a try with the Wolfram 14.1 kernel. Just like WLJS, though, the output from the test code given on the HiGGS repository just isn't really human readable. :( |
I've been asked by my advisor to make use of the xAct suite of packages for our research, and I'd love to use WLJS if I can, rather than use some of our rather limited funding for a Wolfram license. Is this currently supported?
If packages are supported, do you have a quick guide anywhere for using packages with WLJS?
The text was updated successfully, but these errors were encountered: