mirror of
https://gitea.psi.ch/APOG/acsmnode.git
synced 2025-06-24 21:21:08 +02:00
Change data lineage format. Now, data lineage information is accessed using name of the file as key.
This commit is contained in:
@ -20,7 +20,7 @@ def record_data_lineage(path_to_output_file, projectPath, metadata):
|
||||
json_dict = {} # Start fresh if file is invalid
|
||||
|
||||
# Compute relative output file path and update the JSON object
|
||||
#relpath_to_output_file = os.path.relpath(path_to_output_file, start=projectPath).replace(os.sep, '/')
|
||||
#grelpath_to_output_file = os.path.relpath(path_to_output_file, start=projectPath).replace(os.sep, '/')
|
||||
json_dict[output_file] = metadata
|
||||
|
||||
# Write updated JSON back to the file
|
||||
|
Reference in New Issue
Block a user