Thanks to visit codestin.com
Credit goes to github.com

Skip to content

version converter incorrect hint #317

@JuliaSprenger

Description

@JuliaSprenger

When trying to load an odml file version 1.0 with odml version 1.4.2 the resulting error message states

odml.tools.parser_utils.InvalidVersionException: Cannot parse odML document with format version '1'. 
	Use the 'tools.VersionConverter' to import previous odML formats.

However, the version converter can not be used as described above, but needs to be explicitely imported from the submodule:

from odml.tools.version_converter import VersionConverter

Probably the VersionConverter should be linked in the odml.tools.__init__.py?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions