-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loading railtoolkit schema via LazyArtifacts #81
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty nice!
I had some small adjustments. Please also run JuliaFormatter ;) Also some method descriptions are out of date.
# Conflicts: # test/highlevel_test.jl # test/runtests.jl
c4abcb5
to
5a09430
Compare
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Currently two targets fail:
|
Path()
andTrain()
validate the data in the constructor with JsonSchema.Introduced two new functions
load()
andget_schema()
, to change from hard-coded JsonSchema to using the JsonSchema via LazyArtifacts.Path()
andTrain()
now useload()
for a file.load()
returns a validated Dict() according to the files specified JsonSchema (which has to be registered beforehand in the Artifacts.toml file).Dependencies will also be needed for issue #11.