Skip to content

Commit

Permalink
Fix: remove bad code re zarr template and deletion of schema key
Browse files Browse the repository at this point in the history
  • Loading branch information
lbesnard committed Sep 27, 2024
1 parent b60eaab commit 561c348
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# AODN Cloud Optimised Conversion
this is a test

![Build Status](https://github.com/aodn/aodn_cloud_optimised/actions/workflows/build.yml/badge.svg)
![Test Status](https://github.com/aodn/aodn_cloud_optimised/actions/workflows/test-mamba.yml/badge.svg)
Expand Down
1 change: 0 additions & 1 deletion aodn_cloud_optimised/bin/create_dataset_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def generate_template(schema):
for key, subschema in schema["properties"].items():
template[key] = generate_template_value(subschema)

del template["schema"]["schema"] # some dirty code somewhere
return template


Expand Down
10 changes: 1 addition & 9 deletions aodn_cloud_optimised/config/schema_validation_zarr.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,7 @@
}
},
"schema": {
"type": "object",
"properties": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
"type": "object"
},
"dataset_gattrs": {
"type": "object",
Expand Down

0 comments on commit 561c348

Please sign in to comment.