bw_simapro_csv.blocks.method

Classes

Method

Parse a Method block.

Functions

reformat(→ Any)

Do LCIA Method-specific reformatting to a list or string

Module Contents

class bw_simapro_csv.blocks.method.Method(block: List[list], header: dict)[source]

Bases: bw_simapro_csv.blocks.base.SimaProCSVBlock

Parse a Method block.

Each block as the form:

key value

with empty lines in between, e.g.

``` Method

Name DC Test

Version 1 8

Comment Damage category import testing

Category OthersNORM

Use Damage Assessment Yes

Use Normalization No

Use Weighting No ```

parsed[source]
bw_simapro_csv.blocks.method.reformat(v: list | str) Any[source]

Do LCIA Method-specific reformatting to a list or string