Skip to content

Commit 5ce8814

Browse files
committed
showhorn args to Reductionist
1 parent 5e92af2 commit 5ce8814

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

activestorage/active.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -449,13 +449,10 @@ def _process_chunk(self, session, fsref, chunk_coords, chunk_selection, counts,
449449
# FIXME: We do not get the correct byte order on the Zarr Array's dtype
450450
# when using S3, so use the value captured earlier.
451451
dtype = self._dtype
452-
# S3_URL = "https://uor-aces-o.s3-ext.jc.rl.ac.uk"
453-
print("parsed_url", parsed_url)
454-
print("bucket", bucket) # wrong bloody bucket at JASMIN
455-
# bucket = "uor-aces-o.s3-ext.jc.rl.ac.uk"
456-
print("object", object) # wrong bloody object file at JASMIN
457-
print("S3_URL", S3_URL)
458-
# object = os.path.basename(object)
452+
S3_URL = "https://uor-aces-o.s3-ext.jc.rl.ac.uk"
453+
bucket = "bnl"
454+
object = "/" + os.path.basename(object)
455+
print("Shoehorned args to Reductionist", S3_URL, bucket, object)
459456
tmp, count = reductionist.reduce_chunk(session, S3_ACTIVE_STORAGE_URL,
460457
S3_URL,
461458
bucket, object, offset,

0 commit comments

Comments
 (0)