Skip to content

Commit

Permalink
Added correct fix for the rename of one of the date properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfernandez committed Dec 3, 2024
1 parent c88060f commit a74351f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions json-schemas/from_1.0.x_to_2.0.x.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# python oeb-migrator.py --base_url https://openebench.bsc.es/api/scientific/ -cr oeb_api_auth_new.json --bdm-dir w3id-oeb-schemas --bdm-tag 2.0 --fetched-concept-dir MIG-1.0 --recipes ../benchmarking-data-model_2.0.x/json-schemas/from_1.0.x_to_2.0.x.yaml --output-dir MIG-2.0 --validate --concepts BenchmarkingEvent Challenge Community Contact Dataset Metrics Reference TestAction Tool --ignore-ids-file ids-to-remove.txt --ignore-ids-file contacts-to-remove.txt
# python oeb-migrator.py --base_url https://openebench.bsc.es/api/scientific/ -cr oeb_api_auth_new.json --bdm-dir w3id-oeb-schemas --bdm-tag 2.0 --recipes ../benchmarking-data-model_2.0.x/json-schemas/from_1.0.x_to_2.0.x.yaml --output-dir MIG-2.0 --validate --input MIG-1.0-raw/Contact --input MIG-1.0-raw/Community/ --input MIG-1.0-raw/Tool/ --input MIG-1.0-raw/Metrics/ --input MIG-1.0-raw/BenchmarkingEvent/ --input MIG-1.0-raw/Reference --input MIG-1.0-raw/Challenge/ --input MIG-1.0-raw/Dataset/ --input MIG-1.0-raw/TestAction/ --ignore-ids-file ids-to-remove.txt --ignore-ids-file contacts-to-remove.txt
# python oeb-migrator.py --base_url https://openebench.bsc.es/api/scientific/ -cr oeb_api_auth_new.json --bdm-dir w3id-oeb-schemas --bdm-tag 2.0 --recipes ../benchmarking-data-model_2.0.x/json-schemas/from_1.0.x_to_2.0.x.yaml --output-dir MIG-2.0 --validate --input MIG-1.0-raw/Contact --input MIG-1.0-raw/Community/ --input MIG-1.0-raw/Tool/ --input MIG-1.0-raw/Metrics/ --input MIG-1.0-raw/BenchmarkingEvent/ --input MIG-1.0-raw/Reference --input MIG-1.0-raw/Challenge/ --input MIG-1.0-raw/Dataset/ --input MIG-1.0-raw/TestAction/ --ignore-ids-file ids-to-remove.txt --ignore-ids-file contacts-to-remove.txt --ignore-ids-file actions-to-remove.txt
- schema: https://www.elixir-europe.org/excelerate/WP2/json-schemas/1.0/BenchmarkingEvent
side_objects_paths:
contacts: MIG-1.0-raw/Contact
Expand Down Expand Up @@ -656,8 +656,12 @@
}
|
if .dates.reception then
.dates * {
"modification": .dates.reception
. * {
"dates": (
.dates * {
"modification": .dates.reception
}
)
}
|
del(.dates.reception)
Expand Down

0 comments on commit a74351f

Please sign in to comment.