File tree Expand file tree Collapse file tree 3 files changed +11
-34
lines changed Expand file tree Collapse file tree 3 files changed +11
-34
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,9 @@ wget $LINK/download
5
5
mv download download.zip
6
6
unzip download.zip -d /odtp/odtp-output
7
7
8
+ if [ " $TRANSFER_INPUT_TO_OUTPUT " == " TRUE" ]; then
9
+ cp -r /odtp/odtp-input/* /odtp/odtp-output
10
+ fi
11
+
8
12
# All the output folder and files are placed in odtp-output
9
13
cp -r /odtp/odtp-workdir/output/* /odtp/odtp-output
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# This file should contain basic component information for your component.
2
- - name : Name of the component
3
- - component_version : Version
4
- - repository : Repository
5
- - commit :
6
- - author : Author of the component
7
- - original_author : Author of the tool
8
- - description : Description
2
+ - name : Eqasim dataloader
3
+ - component_version : 0.2.0
4
+ - repository :
5
+ - author : Caviri
6
+ - original_author : Caviri
7
+ - description : Tool to download and uncompress a data folder
9
8
- type : ephemeral
10
9
- tags : ["dataloader"]
11
10
- arguments :
12
11
- LINK : string
13
- - inputs : None
14
- - devices :
15
- - gpus : False
16
- - inputSchema : ...
17
- - outputSchema : ...
18
- - env :
19
- - PARAMETER_ENV_VARIABLE : ...
20
- - odtp.ports :
21
- - api : 7100
22
- - logger : 7101
23
- - odtp.env :
24
- - ODTP_MONGO_SERVER
25
- - ODTP_S3_SERVER
26
- - ODTP_BUCKET_NAME
27
- - ODTP_ACCESS_KEY
28
- - ODTP_SECRET_KEY
29
- - ODTP_USER_ID
30
- - ODTP_DIGITAL_TWIN
31
- - ODTP_EXCUTION
32
- - ODTP_STEP
33
- - ODTP_COMPONENT
34
- - ODTP_COMPONENT_VERSION
35
- - ODTP_SAVE_SNAPSHOT
36
-
12
+ - TRANSFER_INPUT_TO_OUTPUT : bool
You can’t perform that action at this time.
0 commit comments