Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix URL generation in run_import.py #424

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nmdc_automation/run_process/run_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def import_projects(ctx, import_file, import_yaml, site_configuration, update_d
"md5_checksum": md5,
"data_object_type": mapping.data_object_type,
"was_generated_by": mapping.nmdc_process_id,
"url": f"{import_mapper.data_source_url}/{import_mapper.data_generation_id}/{export_file}",
"url": f"{import_mapper.data_source_url}/{import_mapper.data_generation_id}/{nmdc_process_id}/{nmdc_data_file_name}",
"description": description
}
# Add to the import_db if it doesn't already exist
Expand Down