Skip to content

do_redosave forces to load mesh from out files every time #213

@alxthor

Description

@alxthor

I am trying out the workbench branch and using python 3.12. Since the file structure of the pickle/joblib file has changed since the last tpv version I used, tripyview needed to recompute these the first time.
Despite the new .jlib file existing now and also it being found, the mesh is loaded from out files every time., which is time intensive.
This is because do_redosave is set to True as a default in load_mesh_fesom2 and not changed in the template notebooks.

What I do now is I load the mesh like this:

mesh=tpv.load_mesh_fesom2(mesh_path, do_rot='None', focus=0, do_info=True, do_pickle=True, do_redosave=False)

Does it make sense to set the default to do_redosave=False either in the notebooks or in tpv.load_mesh_fesom2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions