Skip to content

Commit

Permalink
cove_rdls/process.py: Stricter filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed (ODSC) committed Aug 22, 2023
1 parent 2dc1c97 commit d72c654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cove_rdls/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _clean_and_fix_json(self):
)
with open(os.path.join(output_dir, "unflattened.json"), "r+") as f:
json_data = json.loads(f.read())
json_data = {"datasets": [dataset for dataset in json_data if len(dataset) > 0]}
json_data = {"datasets": [dataset for dataset in json_data if len(dataset) > 1]}
f.seek(0)
f.write(json.dumps(json_data))
f.truncate()
Expand Down

0 comments on commit d72c654

Please sign in to comment.