Skip to content

Commit

Permalink
fix components
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jul 2, 2024
1 parent 185d764 commit 2166556
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 743 deletions.
12 changes: 3 additions & 9 deletions scripts/render_readme.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/bash

set -e

[[ ! -d ../openproblems-v2 ]] && echo "You need to clone the openproblems-v2 repository next to this repository" && exit 1

../openproblems-v2/target/docker/common/create_task_readme/create_task_readme \
--task "perturbation_prediction" \
--task_dir "src" \
--github_url "https://github.com/openproblems-bio/task_perturbation_prediction/tree/main/" \
--output "README.md"
common/create_task_readme/create_task_readme \
--task_dir src \
--output README.md
63 changes: 31 additions & 32 deletions src/api/wf_method.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
functionality:
namespace: "methods"
info:
type: method
type_info:
label: Method
summary: A perturbation prediction method
description: |
A method for predicting the perturbation response of small molecules on certain cell types.
arguments:
- name: --de_train_h5ad
__merge__: file_de_train.yaml
required: false
direction: input
- name: --id_map
__merge__: file_id_map.yaml
required: true
direction: input
- name: --layer
type: string
direction: input
default: clipped_sign_log10_pval
description: Which layer to use for prediction.
- name: --output
__merge__: file_prediction.yaml
required: true
direction: output
- name: "--output_model"
__merge__: file_model.yaml
direction: output
required: false
must_exist: false
namespace: "methods"
info:
type: method
type_info:
label: Method
summary: A perturbation prediction method
description: |
A method for predicting the perturbation response of small molecules on certain cell types.
arguments:
- name: --de_train_h5ad
__merge__: file_de_train.yaml
required: false
direction: input
- name: --id_map
__merge__: file_id_map.yaml
required: true
direction: input
- name: --layer
type: string
direction: input
default: clipped_sign_log10_pval
description: Which layer to use for prediction.
- name: --output
__merge__: file_prediction.yaml
required: true
direction: output
- name: "--output_model"
__merge__: file_model.yaml
direction: output
required: false
must_exist: false
157 changes: 0 additions & 157 deletions src/common/component_tests/run_and_check_output.py

This file was deleted.

58 changes: 0 additions & 58 deletions src/common/create_component/config.vsh.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions src/common/create_component/read_and_merge_yaml.py

This file was deleted.

Loading

0 comments on commit 2166556

Please sign in to comment.