Skip to content

Commit c6ec803

Browse files
committed
Switch to new OSN location
1 parent 91b5880 commit c6ec803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edit_osn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Get access token as environment variable
1616
token = os.environ["RDMTOK"]
1717

18-
endpoint = "https://renc.osn.xsede.org/"
18+
endpoint = "https://sdsc.osn.xsede.org/"
1919

2020
# Get metadata and files from bucket
2121
s3 = s3fs.S3FileSystem(anon=True, client_kwargs={"endpoint_url": endpoint})
@@ -69,6 +69,6 @@
6969
production = True
7070

7171
response = caltechdata_edit(
72-
idv, metadata, token, [], production, "43", publish=False, file_links=file_links
72+
idv, metadata, token, [], production, "43", publish=True, file_links=file_links
7373
)
7474
print(response)

0 commit comments

Comments
 (0)