Skip to content

Commit

Permalink
I hate strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Sep 26, 2024
1 parent 96feebf commit 32aae65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def transfer(self, source_store) -> str:



gcs_remote = """:"google cloud storage",env_auth=true:"""
gcs_remote = ":'google cloud storage',env_auth=true:"
# # this does not work due to the colon in the endpoint? Gahhh this is awful...
osn_remote = f"""\":s3,provider=Ceph,endpoint='https://nyu1.osn.mghpcc.org',access_key_id={osn_id},secret_access_key={osn_secret}:"\"""
osn_remote = ":s3,provider=Ceph,endpoint='https://nyu1.osn.mghpcc.org',access_key_id={osn_id},secret_access_key={osn_secret}:"
# osn_remote = 'osn:'

list_gcs = subprocess.run(
f'rclone -vv lsf {gcs_remote}leap-scratch/',
f'rclone -vv lsf "{gcs_remote}"leap-scratch/',
shell=True,
capture_output=True,
text=True,
Expand All @@ -76,7 +76,7 @@ def transfer(self, source_store) -> str:


list_osn = subprocess.run(
f'rclone -vv lsf {osn_remote}m2lines-test/',
f'rclone -vv lsf "{osn_remote}"m2lines-test/',
shell=True,
capture_output=True,
text=True,
Expand Down

0 comments on commit 32aae65

Please sign in to comment.