@@ -268,8 +268,7 @@ def upload_supporting_file(record_id=None):
268268
269269 if not record_id :
270270 print (
271- """Please upload the
272- metadata to CaltechDATA, and you'll be provided
271+ """Please upload the metadata to CaltechDATA, and you'll be provided
273272 instructions to upload the files to S3 directly."""
274273 )
275274 break
@@ -407,7 +406,10 @@ def create_record():
407406 )
408407 rec_id = response
409408 print (
410- f"You can view and publish this record at https://data.caltechlibrary.dev/uploads/{ rec_id } "
409+ f"""You can view and publish this record at https://data.caltechlibrary.dev/uploads/{ rec_id }
410+ If you need to upload large files to S3, you can type `s3cmd
411+ --endpoint-url https://renc.osn.xsede.org:443 cp DATA_FILE
412+ s3://ini210004tommorrell/{ rec_id } """
411413 )
412414 break
413415 else :
@@ -470,7 +472,10 @@ def create_record():
470472 )
471473 rec_id = response
472474 print (
473- f"You can view and publish this record at https://data.caltechlibrary.dev/uploads/{ rec_id } "
475+ f"""You can view and publish this record at https://data.caltechlibrary.dev/uploads/{ rec_id }
476+ If you need to upload large files to S3, you can type `s3cmd
477+ --endpoint-url https://renc.osn.xsede.org:443 cp DATA_FILE
478+ s3://ini210004tommorrell/{ rec_id } """
474479 )
475480 with open (response + ".json" , "w" ) as file :
476481 json .dump (metadata , file , indent = 2 )
@@ -520,11 +525,7 @@ def edit_record():
520525 )
521526 rec_id = response
522527 print (
523- f"""You can view and publish this record at
524- https://data.caltechlibrary.dev/uploads/{ rec_id } \n
525- If you need to upload large files to S3, you can type `s3cmd
526- --endpoint-url https://renc.osn.xsede.org:443 cp DATA_FILE
527- s3://ini210004tommorrell/{ rec_id } """
528+ f"You can view and publish this record at https://data.caltechlibrary.dev/uploads/{ rec_id } \n "
528529 )
529530
530531
0 commit comments