Skip to content

Find a smarter way to only init fortran libraries once #9

Description

@Quacken8

Right now when the init.py file executes, it sets pym.mesa2Py = True even tho pym doesnt have that attribute. When _init.py is executed again within the same session, that attribute still exists in pym so it's an indicator whether this file has already run. It's super hacky but it gets the job done. I'd like to use something smarter, but I don't know what

pym.mesa2Py = True #type: ignore FIXME very hacky way to make sure the fortran modules are only initialized once. It works tho

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions