Skip to content

Set default resource source based on environment #433

@nawatts

Description

@nawatts

Currently, resources will alway default to being read from Google Cloud Public Datasets.

DEFAULT_GNOMAD_PUBLIC_RESOURCE_SOURCE = (
GnomadPublicResourceSource.GOOGLE_CLOUD_PUBLIC_DATASETS
)

Preferably, the default would be based on the environment, such that jobs running on EMR automatically default to reading resources from the Registry of Open Data on AWS and jobs running on HDInsight default to reading from Azure Open Datasets.

Maybe Hail already has something for identifying the environment (at least in clusters started with hailctl)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions