Open crkrenn opened 3 years ago
The following is a workaround...
def verify_environment(self, schema):
"""Verify that the environment in a specification is valid."""
# validate environment against json schema
pass
@crkrenn -- I'll have to go take a deeper look, it's not 100% clear what's going on here. What I can gleam is that you're getting a dictionary value for a variable which the validation checker doesn't like. I'll take a look soon.
@FrankD412, (cc: @jsemler)
I have two coupled issues:
maestro 1.1.8
won't work with long paths as global.parameters. (maestro 1.1.9dev1
fixes this problem.)maestro 1.1.9dev1
won't work with pgen_scisample.py, which is an approved example inmaestro_sheetmusic
. This is because of "improved" validation of theenv
block of the maestro input file. (pgen_scisample.py
works withmaestro 1.1.8
.)To solve issue 2, I need to relax the validation of the
env
block.To solve issue 2 more generally, I would suggest that you do some sort of automated testing of
maestro_sheetmusic
.test_feature.py
files tomaestro_sheetmusic
if you provide a framework for testing.V/r,
-Chris
PS. Below is the stack trace when I try to run
pgen_scisample.py
withmaestro 1.1.9dev1
.