Skip to content

Commit 4879dc2

Browse files
authored
update odtp.yml and cleaning dockerfile
1 parent 2da5c10 commit 4879dc2

File tree

4 files changed

+58
-19
lines changed

4 files changed

+58
-19
lines changed

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN apt-get update && apt-get -y upgrade \
2727
# ODTP setup
2828
##################################################
2929

30-
COPY odtp.requirements.txt /tmp/odtp.requirements.txt
30+
COPY odtp-component-client/requirements.txt /tmp/odtp.requirements.txt
3131
RUN pip install -r /tmp/odtp.requirements.txt
3232

3333

@@ -58,10 +58,6 @@ RUN mkdir /odtp \
5858
/odtp/odtp-workdir \
5959
/odtp/odtp-output
6060

61-
# This last 2 folders are specific from odtp-eqasim
62-
RUN mkdir /odtp/odtp-workdir/cache \
63-
/odtp/odtp-workdir/output
64-
6561
# This copy all the information for running the ODTP component
6662
COPY odtp.yml /odtp/odtp-config/odtp.yml
6763

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Therefore, the only ENV variable available is:
77

88
- LINK:
99

10+
## Changelog
11+
12+
- v0.3.0 Updated `odtp.yml`
13+
1014
## Development
1115

1216
Developed by SDSC/CSFM

odtp.requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

odtp.yml

Lines changed: 53 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,54 @@
11
# This file should contain basic component information for your component.
2-
- name: Eqasim dataloader
3-
- component_version: 0.3.0
4-
- repository:
5-
- author: Caviri
6-
- original_author: Caviri
7-
- description: Tool to download and uncompress a data folder
8-
- type: ephemeral
9-
- tags: ["dataloader"]
10-
- arguments:
11-
- LINK: string
12-
- TRANSFER_INPUT_TO_OUTPUT: bool
2+
component-name: odtp-eqasim-dataloader
3+
component-author: Carlos Vivar Rios
4+
component-version: 0.3.0
5+
component-repository: https://github.com/odtp-org/odtp-eqasim-dataloader
6+
component-license: AGPL-3.0
7+
component-type: ephemeral
8+
component-description: Tool to download and uncompress a data folder
9+
tags:
10+
- dataloader
11+
- download
12+
13+
# Information about the tools
14+
tools: null
15+
16+
# If your tool require some secrets token to be passed as ENV to the component
17+
# This won't be traced in MongoDB
18+
secrets: null
19+
20+
# If the tool requires some building arguments such as Matlab license
21+
build-args: null
22+
23+
# If applicable, ports exposed by the component
24+
# Include Name, Description, and Port Value for each port
25+
ports: null
26+
27+
# If applicable, parameters exposed by the component
28+
# Datatype can be str, int, float, or bool.
29+
parameters:
30+
- name: LINK
31+
default-value: null
32+
datatype: string
33+
description: URL to the switch folder to download
34+
options: null
35+
allow-custom-value: true
36+
37+
# If applicable, data-input list required by the component
38+
data-inputs: null
39+
40+
# If applicable, data-output list produced by the component
41+
data-output:
42+
- name: data
43+
type: Folder
44+
path: data
45+
description: Input data for eqasim
46+
47+
# If applicable, path to schemas to perform semantic validation.
48+
# Still under development. Ignore.
49+
schema-input: null
50+
schema-output: null
51+
52+
# If applicable, define devices needed such as GPU.
53+
devices:
54+
gpu: false

0 commit comments

Comments
 (0)