Skip to content

Commit

Permalink
cms-2016-simulated-datasets: further enriching and cleaning as in #182
Browse files Browse the repository at this point in the history
  • Loading branch information
Kati Lassila-Perini authored and tiborsimko committed Jan 24, 2024
1 parent 765850c commit b9c5061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms-2016-simulated-datasets/code/mcm_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def mcm_downloader(dataset, mcm_dir):
shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
mcm_chain_prepids_out = str(mcm_chain_prepids.stdout.decode("utf-8"))
json_object = json.loads(mcm_chain_prepids_out)
for step in json_object:
step_path = mcm_dir + "/chain/" + dataset.replace('/', '@') + "/" + step
for idx,step in enumerate(json_object):
step_path = mcm_dir + "/chain/" + dataset.replace('/', '@') + "/" + str(idx) + step
for path in [step_path, step_path + "/dict", step_path + "/scripts"]:
os.makedirs(path, exist_ok=True)

Expand Down

0 comments on commit b9c5061

Please sign in to comment.