Skip to content

Commit ab7ebaa

Browse files
frano-mclaude
andauthored
content: update guides content and export descriptions (#4760) (#4761)
* feat: add links to guide sub-pages from data download options (#4760) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: update export descriptions and data URL (#4760) Update manifest and curl export descriptions to mention S3 URIs and compute environments. Add NRES-specific manifest description. Update data URL to service.explore.anvilproject.org and inline catalog default. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add data download options link to guides overview (#4760) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: revert data URL and catalog default changes (#4760) Restore CATALOG_DEFAULT import and original data URL. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: use isDatasetNRESConsentGroup instead of viewContext (#4760) Derive NRES consent group from datasetsResponse directly instead of requiring viewContext parameter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9213692 commit ab7ebaa

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

app/content/anvil-cmg/guides.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Documentation for using the AnVIL Data Explorer can be found in a series of arti
2727
- [Part 1: Set up billing and access in Terra](https://support.terra.bio/hc/en-us/articles/34595554957723-Part-1-Set-up-billing-and-data-access-in-Terra)
2828
- [Part 2: Search and select data in the AnVIL Data Explorer](https://support.terra.bio/hc/en-us/articles/34596321862427-Part-2-Search-and-select-data-in-AnVIL-Data-Explorer)
2929
- [Part 3: Export data for analysis](https://support.terra.bio/hc/en-us/articles/34607573660827-Part-3-Export-AnVIL-data-to-Terra-for-analysis)
30+
- [Downloading open-access data files to AWS EC2, your HPC environment, or your local compute environment](/guides/data-download-options).
3031

3132
## Limitations of the Data Explorer
3233

app/content/anvil-cmg/guides/data-download-options.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Managed-access datasets can be downloaded from Google Cloud Platform on a reques
1616

1717
The following options are available through the AnVIL Data Explorer:
1818

19-
- **TSV File Manifest Downloads**
19+
- **[TSV File Manifest Downloads](/guides/tsv-file-manifest-download)**
2020
- Available for all datasets, including open and managed access datasets.
2121
- Manifest can include one or more datasets based on the search criteria used in the AnVIL Data Explorer.
2222

23-
- **Data Download via curl**
23+
- **[Data Download via curl](/guides/data-download-via-curl)**
2424
- Available only for open-access datasets.
2525
- `curl` Command downloads can be full datasets or include select file types from one or more open-access datasets.
2626

27-
- **Individual File Download**
27+
- **[Individual File Download](/guides/individual-file-download)**
2828
- Available only for files in open-access datasets.

app/viewModelBuilders/azul/anvil-cmg/common/viewModelBuilders.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,11 @@ export const buildDatasetExportMethodManifestDownload = (
470470
datasetsResponse: DatasetsResponse
471471
): React.ComponentProps<typeof C.ExportMethod> => {
472472
const datasetPath = buildDatasetPath(datasetsResponse);
473+
const isNRES = isDatasetNRESConsentGroup(datasetsResponse);
473474
return {
474-
description:
475-
"Download a TSV manifest containing metadata for all data files in the dataset.",
475+
description: isNRES
476+
? "Download a TSV manifest containing metadata for all data files in the dataset. For open-access data files, the manifest also includes S3 URIs."
477+
: "Download a TSV manifest containing metadata for all data files in the dataset.",
476478
icon: <ExportIcon alt="Manifest" src="/export/manifest.webp" width={24} />,
477479
route: `${datasetPath}${ROUTES.MANIFEST_DOWNLOAD}`,
478480
title: "Download TSV Manifest",
@@ -535,8 +537,13 @@ export const buildDatasetExportMethodCurlCommand = (
535537
): React.ComponentProps<typeof C.ExportMethod> => {
536538
const datasetPath = buildDatasetPath(datasetsResponse);
537539
return {
538-
description:
539-
"Generate a curl command to download all files in this open-access dataset.",
540+
description: (
541+
<div>
542+
Generate a <code>curl</code> command to download all files in this
543+
open-access dataset for analysis in AWS EC2, your HPC, or your local
544+
compute environment.
545+
</div>
546+
),
540547
icon: <ExportIcon alt="curl" src="/export/curl.webp" width={24} />,
541548
route: `${datasetPath}${ROUTES.CURL_DOWNLOAD}`,
542549
title: "Download Open-Access Data Files (No Data Transfer Fees)",
@@ -891,7 +898,7 @@ export const buildExportMethodManifestDownload = (
891898
return {
892899
...getExportMethodAccessibility(viewContext),
893900
description:
894-
"Download a TSV manifest containing metadata for all data files in the current selection, including managed-access files.",
901+
"Download a TSV manifest containing metadata for all data files in the current selection, including managed-access files. For open-access data files, the manifest also includes S3 URIs.",
895902
icon: <ExportIcon alt="Manifest" src="/export/manifest.webp" width={24} />,
896903
route: ROUTES.MANIFEST_DOWNLOAD,
897904
title: "Download TSV Manifest for All Selected Data Files",
@@ -960,7 +967,8 @@ export const buildExportMethodBulkDownload = (
960967
description: (
961968
<div>
962969
Generate a <code>curl</code> command to download the open-access data
963-
files in the current selection.
970+
files in the current selection for analysis in AWS EC2, your HPC, or
971+
your local compute environment.
964972
</div>
965973
),
966974
icon: <ExportIcon alt="curl" src="/export/curl.webp" width={24} />,

0 commit comments

Comments
 (0)