Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diapotb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Remote Modules
diapotb
Commits
b4bf8f16
Commit
b4bf8f16
authored
3 years ago
by
Gaëlle USSEGLIO
Browse files
Options
Downloads
Patches
Plain Diff
BUG : Correction on metaschema in json_schemas
parent
a736899f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!52
Merge for v1.1.0
,
!50
Finalize Python chains (v1.1.0)
,
!49
Add python tests
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python_src/diapotb/ConfigFile.py
+2
-2
2 additions, 2 deletions
python_src/diapotb/ConfigFile.py
python_src/diapotb/share/json_schemas/schema_MultiSlc.json
+1
-1
1 addition, 1 deletion
python_src/diapotb/share/json_schemas/schema_MultiSlc.json
with
3 additions
and
3 deletions
python_src/diapotb/ConfigFile.py
+
2
−
2
View file @
b4bf8f16
...
...
@@ -270,8 +270,8 @@ class ConfigFile():
with
open
(
schema_file
,
"
r
"
)
as
sch
:
data_schema
=
json
.
load
(
sch
)
except
Exception
as
err
:
logger
.
critical
(
"
Impossible to read or load JSON configuration schema : {
err
}. Check its path and content
.
"
\
.
format
(
err
=
self
.
_config_file
))
logger
.
critical
(
"
Impossible to read or load JSON configuration schema : {
name
}. Check its path and content
, exception is {err}
"
\
.
format
(
name
=
self
.
_config_file
,
err
=
err
))
quit
()
# Check Json file
...
...
This diff is collapsed.
Click to expand it.
python_src/diapotb/share/json_schemas/schema_MultiSlc.json
+
1
−
1
View file @
b4bf8f16
{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"title"
:
"JSON SCHEMA for MultiSlc"
,
"description"
:
"JSON organization for the script SAR_MultiSlc.py"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment