Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Florian LB
    @flothesof
    Some more changes: the example works on my machine and generates a nice start for the gallery.
    It's nice to finally see some 1D LOS and 2D LOS and the interactive plots :)
    Laura S. Mendoza
    @lasofivec
    I'm going to try it rn ! I'll let you know asap.
    Quick question @flothesof by any chance do you know how to force the inclusion of files starting with _ (underscore) to the apidoc ? All our files in geom start with an underscore so they are all being ignored, which kind of kills the automatic aspect
    Didier
    @Didou09
    Ok, I pulled the sphinx_gallery branch on CentOS at work between 2 shots, any quick hint at how to build the gallery from command line ?
    Laura S. Mendoza
    @lasofivec
    go to tofu/doc/
    make html
    (it will automatically make the gallery as well)
    then open tofu/doc/build/index.html
    you should see a new link to the gallery
    Didier
    @Didou09
    Thanks,
    currently installing sphinx-gallery package to get the whole thing running
    Laura S. Mendoza
    @lasofivec

    then open tofu/doc/build/index.html

    open tofu/doc/build/html/index.html

    Florian LB
    @flothesof

    Quick question @flothesof by any chance do you know how to force the inclusion of files starting with _ (underscore) to the apidoc ? All our files in geom start with an underscore so they are all being ignored, which kind of kills the automatic aspect

    I have no idea...

    Laura S. Mendoza
    @lasofivec
    FTR: sphinx-apidoc -f -P -o source/ ../tofu/ {../*test*,../*mag*,../*imas2tofu*} -P
    I'm using this to get the sphinx auto generated doc. So I'm ignoring imas dependent modules
    Laura S. Mendoza
    @lasofivec
    sphinx-apidoc -f -P -d 5 -o source/ ../tofu/ {../*test*,../*mag*,../*imas2tofu*,../*geom/inputs}
    Laura S. Mendoza
    @lasofivec
    Well, I think it looks like I changed nothing at all but the branch gh-pages is a brand new one :sweat_smile:
    I am going to add a tuto on how to update the doc somewhere even though we wont need to do it probably (unless re structuring of the library)
    Florian LB
    @flothesof
    Hey Laura, I just checked the updated documentation. It looks fantastic!
    I think it would be great to change the structure a little bit by adding installation instructions
    I would say as the first bullet point in the contents
    Laura S. Mendoza
    @lasofivec
    Yes that's on my TODO for today :)
    and thanks :)
    Laura S. Mendoza
    @lasofivec
    Didier
    @Didou09
    The new version of the doc is a really great fresh start !
    Thanks very much to both for all that nice work, while I was on sick leave.
    I got back yesterday, and I'll try to catch up from now
    I might suggest to switch to a different theme in order to stick better to the theme of some other IMAS-related libraries with which we are now cross-compatible (successfully tested yesterday), like IMASViz, a GUI for easy plotting of IMAS data (IMAS being a fusion-community data base format). The next version of IMASViz will have an official tofu plugin, so most tofu interactive figures will be automatically generated from the IMASViz GUI :-)
    Laura S. Mendoza
    @lasofivec
    I'll write this here FTR. I propose we submit something to Matplotlib's new blog:
    https://matplotlib.org/matplotblog/
    They published it on twitter and it looks like they are aiming at "academics", which is great for us.
    Since there is only one post for the moment, I think we could get a lot of clicks if we contribute.
    Plus, during the PyConFR conference people complimented the great work of didier for the GUI :)
    Didier
    @Didou09
    here :-)
    I confirm that the only remaining problem is numpy : hard-coding the np.get_include() path solves everything !
    Didier
    @Didou09
    see issue, I hadded links for record
    Laura S. Mendoza
    @lasofivec
    wjat are you trtying rn ?
    Laura S. Mendoza
    @lasofivec
    the two PR (one with the meeting summary) are open :)
    Laura S. Mendoza
    @lasofivec
    did this solution work ???
    Laura S. Mendoza
    @lasofivec
    Found the link that I couldn't find during the meeting
    "Note PyPI currently supports uploads of platform wheels for Windows, macOS, and the multi-distro manylinux1 ABI. Details of the latter are defined in PEP 513."
    https://packaging.python.org/guides/distributing-packages-using-setuptools/
    jasimpson89
    @jasimpson89
    Hi, I am from JET and we are looking into a new synthetic diagnostics tools for our SOL transport code EDGE2D. I just wondered if people still used the chat?
    apologies I am using my personal gitlab account
    Didier
    @Didou09
    Hi !
    Yes we are still using the chat, even though the github repo concentrates most of our exchanges
    What kind of synthetic diagnostic do you need ?
    Laura S. Mendoza
    @lasofivec
    Hi @Didou09 and @jasimpson89 sorry for the late reply, did you talk to each other ? :)
    On another subject: is it me or is travis now reaaaally really slow ?
    Florian LB
    @flothesof
    Hi @lasofivec, yes Travis has become really slow. Apparently, they also changed their terms of service including for open-source (https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing) which means that apparently lots of users will move avay from it (I read that on twitter)
    Laura S. Mendoza
    @lasofivec
    What do you think about migrating to Github Actions ?
    I am looking into it to see if it would cover all of our needs but if you already have an input it would be great
    Florian LB
    @flothesof
    I haven't looked into github actions. I have no idea if it's well suited to the work flow we would need. On the other hand, I now the pyvista project uses Microsoft azure to do the exact CI flow we intend to have.
    Didier
    @Didou09
    image.png