Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Improve get_public_path #116

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bilalebi
Copy link
Contributor

@bilalebi bilalebi commented Oct 17, 2024

JIRA Ticket

https://www.ebi.ac.uk/panda/jira/browse/EA-1285

Changes

  • Add common path without annotation provider for assembly and regulation
  • Expand the list of dataset types to discard
  • Refactor get_public_path
  • Fix broken tests

Example

Query

{
	"genome_uuid": "a7335667-93e7-11ec-a39d-005056b38ce3"
}

Response

{
	"Links": [
		{
			"dataset_type": "variation",
			"path": "Homo_sapiens/GCA_000001405.29/ensembl/variation/2023_03"
		},
		{
			"dataset_type": "assembly",
			"path": "Homo_sapiens/GCA_000001405.29/genome"
		},
		{
			"dataset_type": "homologies",
			"path": "Homo_sapiens/GCA_000001405.29/ensembl/homology/2023_03"
		},
		{
			"dataset_type": "regulation",
			"path": "Homo_sapiens/GCA_000001405.29/regulation"
		},
		{
			"dataset_type": "genebuild",
			"path": "Homo_sapiens/GCA_000001405.29/ensembl/geneset/2023_03"
		}
	]
}

@bilalebi bilalebi self-assigned this Oct 17, 2024
@bilalebi bilalebi added API API related changes bug Something isn't working labels Oct 17, 2024
@bilalebi
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API related changes bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant