load_fascicle

nrv.ui.load_fascicle(data: str | dict | NRV_class, extracel_context: bool = False, intracel_context: bool = False, rec_context: bool = False, **kwargs) fascicle[source]

loads a fascicle from a json file or a dictionary generated with NRV_class.save

Parameters:
  • data (str, dict, nrv_class) –

    data from which the object should be generated:

    • if str, data will be loaded from the corresponding json file

    • if dict, data will be loaded from a dictionnary

    • if nrv_class, same object will be returned

  • **kwargs – additionnal argument to use for the loading

Return type:

fascicle | None