CsvProjectIo¶
- class glotaran.builtin.io.csv.csv.CsvProjectIo(format_name: str)[source]¶
Bases:
glotaran.io.interface.ProjectIoInterface
Initialize a Project IO plugin with the name of the format.
- Parameters
format_name (str) – Name of the supported format an instance uses.
Methods Summary
Create a Model instance from the specs defined in a file (NOT IMPLEMENTED).
Create a ParameterGroup instance from the specs defined in a file (NOT IMPLEMENTED).
Create a Result instance from the specs defined in a file (NOT IMPLEMENTED).
Create a Scheme instance from the specs defined in a file (NOT IMPLEMENTED).
Save a Model instance to a spec file (NOT IMPLEMENTED).
Save a
ParameterGroup
to a CSV file.Save a Result instance to a spec file (NOT IMPLEMENTED).
Save a Scheme instance to a spec file (NOT IMPLEMENTED).
Methods Documentation
- load_model(file_name: str) → Model¶
Create a Model instance from the specs defined in a file (NOT IMPLEMENTED).
- load_parameters(file_name: str) → glotaran.parameter.parameter_group.ParameterGroup[source]¶
Create a ParameterGroup instance from the specs defined in a file (NOT IMPLEMENTED).
- Parameters
file_name (str) – File containing the parameter specs.
- Returns
ParameterGroup instance created from the file.
- Return type
- load_result(result_path: str) → Result¶
Create a Result instance from the specs defined in a file (NOT IMPLEMENTED).
- load_scheme(file_name: str) → Scheme¶
Create a Scheme instance from the specs defined in a file (NOT IMPLEMENTED).
- Parameters
file_name (str) – File containing the parameter specs.
- Returns
Scheme – Scheme instance created from the file.
.. # noqa (DAR202)
.. # noqa (DAR401)
- save_parameters(parameters: glotaran.parameter.parameter_group.ParameterGroup, file_name: str)[source]¶
Save a
ParameterGroup
to a CSV file.