Skip to content

Treat OutputFile fileName attribute as relative to the LEMS file directory  #48

Description

@JustasB

Currently, the value in Include tag, file attribute is treated differently from the fileName attribute of OutputFile tag. They should be treated the same way for consistency.

E.g. <Include file="NML2_SingleCompHHCell.nml"/> looks for NML2_SingleCompHHCell.nml in the same folder as the LEMS file.

However, <OutputFile fileName="ex5_v.dat"> writes to ex5_v.dat in the folder from where jnml is being executed, which is not necessarily the same one where the LEMS file is located.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions