Skip to content

[feature] : Config file versioning & custom error for out of date configs? #1307

@SylviaWhittle

Description

@SylviaWhittle

Is your feature request related to a problem?

Had a user email me to ask about an error that was caused by trying to run a slightly older config file. The error message was just a validation one from our config validator script, but it might be good to do an earlier check and print a pretty error message that for this specific case?

Describe the solution you would like.

Perhaps add a config file version numbering system and a check to ensure it's compatible when running topostats, and instead of the generic validation error, it could say:

"config file out of date, v2.1, needs v.24, please create a fresh config file and copy over your parameters"

or something?

Describe the alternatives you have considered.

No response

Additional context

No response

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