-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* working on adding maestro's schema validation to merlin * updated schemas * adding merlin_schema to spec logic * added debug prints * added print * fixing vestigial Maestro calls * adjusted merlin_schemas * fixed json file * validation progress * added from_dict replacement logic * adjusted maestrowf version req * fixed string * schema improvements * merlinsection schema updates * merlin section error parsing appears to work * updated CHANGELOG * fixed merge error * Added walltime to json schema
- Loading branch information
Showing
7 changed files
with
601 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
{ | ||
"MERLIN": { | ||
"type": "object", | ||
"properties": { | ||
"resources": { | ||
"type": "object", | ||
"properties": { | ||
"task_server": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"overlap": { | ||
"anyOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"type": "string", | ||
"pattern": "^\\$\\(\\w+\\)$" | ||
} | ||
] | ||
}, | ||
"workers": { | ||
"type": "object", | ||
"additionalProperties": true, | ||
"patternProperties": { | ||
".*": { | ||
"type": "object", | ||
"properties": { | ||
"steps": { | ||
"anyOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
"nodes": { | ||
"anyOf": [ | ||
{ | ||
"type": "integer", | ||
"minimum": 1 | ||
}, | ||
{ | ||
"type": "string", | ||
"pattern": "^\\$\\(\\w+\\)$" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"batch": { | ||
"anyOf": [ | ||
{ | ||
"type": "object" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"args": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"machines": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"steps" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"samples": { | ||
"anyOf": [ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"generate": { | ||
"type": "object", | ||
"properties": { | ||
"cmd": { | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
} | ||
}, | ||
"level_max_dirs": { | ||
"anyOf": [ | ||
{ | ||
"type": "integer", | ||
"minimum": 1 | ||
}, | ||
{ | ||
"type": "string", | ||
"pattern": "^\\$\\(\\w+\\)$" | ||
} | ||
] | ||
}, | ||
"file": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"column_labels": { | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"samples", | ||
"resources" | ||
] | ||
} | ||
} |
Oops, something went wrong.