From 88173323832b26611f456ca2a1aaf2638264255f Mon Sep 17 00:00:00 2001 From: Philip Garrison Date: Fri, 20 Dec 2024 11:04:09 -0800 Subject: [PATCH] 367 More detailed file_path comment --- packages/core/entity/FileDetail/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/entity/FileDetail/index.ts b/packages/core/entity/FileDetail/index.ts index ab2a8f1e..a21a22fd 100644 --- a/packages/core/entity/FileDetail/index.ts +++ b/packages/core/entity/FileDetail/index.ts @@ -124,7 +124,8 @@ export default class FileDetail { throw new Error("File Path is not defined"); } - // AICS FMS files have paths like staging.files.allencell.org/130/b23/bfe/117/2a4/71b/746/002/064/db4/1a/danny_int_test_4.txt + // AICS FMS files have paths like this in fileDetail.file_path: + // staging.files.allencell.org/130/b23/bfe/117/2a4/71b/746/002/064/db4/1a/danny_int_test_4.txt if (typeof path === "string" && path.startsWith(AICS_FMS_S3_BUCKET)) { return FileDetail.convertAicsS3PathToHttpUrl(path) as string; }