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

Typo fix "retrieval" #21

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:

- name: Create tasks needed for testing
run: |
python scripts/tasks_retrival/gene2gene_task_creation.py --allow-downloads True
python scripts/tasks_retrival/Genecorpus_tasks_creation.py --allow-downloads True
python scripts/tasks_retrival/HLA_task_creation.py --allow-downloads True
python scripts/tasks_retrival/HPA_tasks_creation.py --allow-downloads True
python scripts/tasks_retrival/humantfs_task_creation.py --allow-downloads True
python scripts/tasks_retrival/Reactome_tasks_creation.py --allow-downloads True
python scripts/tasks_retrieval/gene2gene_task_creation.py --allow-downloads True
python scripts/tasks_retrieval/Genecorpus_tasks_creation.py --allow-downloads True
python scripts/tasks_retrieval/HLA_task_creation.py --allow-downloads True
python scripts/tasks_retrieval/HPA_tasks_creation.py --allow-downloads True
python scripts/tasks_retrieval/humantfs_task_creation.py --allow-downloads True
python scripts/tasks_retrieval/Reactome_tasks_creation.py --allow-downloads True

- name: Test with pytest
run: |
Expand Down
88 changes: 0 additions & 88 deletions scripts/data_retrieval/gene_disease_association.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pandas as pd

from gene_benchmark.tasks import dump_task_definitions
from scripts.tasks_retrival.task_retrieval import (
from scripts.tasks_retrieval.task_retrieval import (
check_data_type,
create_single_label_task,
load_yaml_file,
Expand Down Expand Up @@ -64,7 +64,7 @@ def create_tasks(data, main_task_directory, verbose=False):
"--columns-to-use-yaml",
type=click.STRING,
help="A path to a yaml file containing the column names to be used as tasks",
default="scripts/tasks_retrival/hpa_column_names_for_tasks.yaml",
default="scripts/tasks_retrieval/hpa_column_names_for_tasks.yaml",
)
@click.option(
"--main-task-directory",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from task_retrieval import verify_source_of_data

from gene_benchmark.tasks import dump_task_definitions
from scripts.tasks_retrival.task_retrieval import list_form_to_onehot_form
from scripts.tasks_retrieval.task_retrieval import list_form_to_onehot_form

TOP_PATHWAYS_URL = "https://reactome.org/download/current/ReactomePathwaysRelation.txt"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from task_retrieval import get_symbols, verify_source_of_data

from gene_benchmark.tasks import dump_task_definitions
from scripts.tasks_retrival.task_retrieval import print_numerical_task_report
from scripts.tasks_retrieval.task_retrieval import print_numerical_task_report

DATA_URL = (
"https://ftp.ebi.ac.uk/pub/databases/opentargets/platform/23.09/output/etl/parquet/"
Expand Down
2 changes: 1 addition & 1 deletion tasks/README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Task retrieval

Our package allows users to easily evaluate the gene encodings on hundreds of tasks from varying sources and types. The package does not include the task data itself to avoid redistributing data from various sources with various public licenses. However, we provide an easy [command line interface](../scripts/tasks_retrival/) to download and populate a folder with the tasks in the appropriate format. The list of tasks and their descriptions are available in an [excel file](task_descriptions.xlsx).
Our package allows users to easily evaluate the gene encodings on hundreds of tasks from varying sources and types. The package does not include the task data itself to avoid redistributing data from various sources with various public licenses. However, we provide an easy [command line interface](../scripts/tasks_retrieval/) to download and populate a folder with the tasks in the appropriate format. The list of tasks and their descriptions are available in an [excel file](task_descriptions.xlsx).

Note that the interface allows to download data from various sources. To do so the user needs to explicitly allow this. Use this option only if you trust the URLs appearing in the scripts.
Loading