Skip to content

Commit 33731c0

Browse files
frano-mMillenniumFalconMechanic
authored andcommitted
Switch to new manifest format names. Resolves #908. (#960)
1 parent 3e7d75b commit 33731c0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

spa/src/app/files/shared/file-manifest.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export class FileManifestService {
193193

194194
const manifestResponse$ = new Subject<ManifestResponse>();
195195

196-
const query = new ICGCQuery(this.searchTermService.marshallSearchTerms(searchTerms), ManifestDownloadFormat.TSV);
196+
const query = new ICGCQuery(this.searchTermService.marshallSearchTerms(searchTerms), ManifestDownloadFormat.COMPACT);
197197
let params = new HttpParams({fromObject: query} as any);
198198
const url = this.configService.buildApiUrl(`/fetch/manifest/files`);
199199
this.pollRequestFileManifest(url, params, 0, manifestResponse$, killSwitch$);

spa/src/app/files/shared/manifest-download-format.model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
export enum ManifestDownloadFormat {
9-
"BDBAG" = "bdbag",
9+
"TERRA_BDBAG" = "terra.bdbag",
1010
"FULL" = "full",
11-
"TSV" = "tsv"
11+
"COMPACT" = "compact"
1212
}

spa/src/app/files/shared/terra.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class TerraService {
128128
exportResponse$.unsubscribe();
129129
});
130130

131-
const query = new ICGCQuery(this.searchTermService.marshallSearchTerms(searchTerms), ManifestDownloadFormat.BDBAG);
131+
const query = new ICGCQuery(this.searchTermService.marshallSearchTerms(searchTerms), ManifestDownloadFormat.TERRA_BDBAG);
132132
let params = new HttpParams({fromObject: query} as any);
133133

134134
const url = this.configService.buildApiUrl(`/fetch/manifest/files`);

0 commit comments

Comments
 (0)