Skip to content

Commit

Permalink
Reduced Operators table and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-olleros committed Sep 25, 2024
1 parent 297d9f4 commit 93c9ced
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 515 deletions.
4 changes: 0 additions & 4 deletions v2.1/docs/generate_engine_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def generate_files_from_folder(folder):
output_name = vtl_script.split(":=")[0].strip()
expression = vtl_script.split(":=", 1)[1].strip()

print(folder)

#Generate input datasets files
regex = re.compile('DS_[0-9]+')
used_datasets = re.findall(regex, expression)
Expand All @@ -71,7 +69,6 @@ def generate_files_from_folder(folder):
dest_file = dest_folder / f"{ds}.csv"
dest_file.write_text(source_file.read_text())


#Generate output dataset file
datasets = load_dataset([folder / f"{file.stem}.json"])
dest_datasets_file = dest_folder / "output.json"
Expand All @@ -81,7 +78,6 @@ def generate_files_from_folder(folder):
source_file = folder / f"{file.stem}.csv"
dest_output_data_file.write_text(source_file.read_text())


#Copy VTL file with generic name
dest_vtl_file = dest_folder / "transformation.vtl"
dest_vtl_file.write_text(vtl_script)
Expand Down
Loading

0 comments on commit 93c9ced

Please sign in to comment.