Skip to content

Commit a2ef831

Browse files
authored
Updating comments
1 parent 6cf780a commit a2ef831

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

CMEW/app/add_datasets/bin/add_datasets_to_share.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,17 +241,13 @@ def dict_namelists_in_work_dir():
241241
# Check if it's model runs
242242
if basename == "model_runs":
243243

244-
# Extract the datasets from each file
244+
# Write the datasets to a YAML file with ESMVal project
245245
datasets = process_naml_file(nl_fp, "ESMVal")
246-
247-
# Write the datasets to a YAML file in the target directory
248246
write_datasets_to_yaml(datasets, basename, target_dir)
249247

250248
# Check if it's CMIP6:
251249
if basename == "cmip6_datasets":
252250

253-
# Extract the datasets from each file
251+
# Write the datasets to a YAML file with CMIP6 project
254252
datasets = process_naml_file(nl_fp, "CMIP6")
255-
256-
# Write the datasets to a YAML file in the target directory
257253
write_datasets_to_yaml(datasets, basename, target_dir)

0 commit comments

Comments
 (0)