Skip to content

[Query] Can we pass a nml file's file object to load it  #71

Open
@kapilkd13

Description

@kapilkd13

Hi all, We are using libNeuroML library to load .nml file for our use case. Currently we are passing file path to NeuroMLLoader.load function and it is working fine. I want to know if it is possible to directly pass a file object instead of file path to load nml.
our reasons:

  1. It will allow us to convert a string into file object using stringIO and pass that.
  2. We won't have to deal with file handling and issues related to it.

will it be good functionality to have? I am willing to work on this functionality.

@pgleeson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions