Skip to content

Commit

Permalink
#1035: Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjyoon committed Dec 13, 2024
1 parent a35bb92 commit c94194a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product2dataset/product2dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def convert(
logger.info("Reducing lineage string size by truncating basepath of lineage entries")
logger.info("dataset_met_json keys: " + str(dataset_met_json.keys()))
if len(dataset_met_json["lineage"]) > 0:
dataset_met_json["lienage_base_path"] = '/'.join(dataset_met_json["lineage"][0].split('/')[:-1])
dataset_met_json["lineage_basepath"] = '/'.join(dataset_met_json["lineage"][0].split('/')[:-1])
lineage_arr = []
for l in dataset_met_json["lineage"]:
lineage_arr.append(l.split('/')[-1])
Expand Down

0 comments on commit c94194a

Please sign in to comment.