Skip to content

Commit

Permalink
updated byte unit
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Mar 8, 2024
1 parent cb96cc3 commit b3eebf7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
12 changes: 6 additions & 6 deletions services/sleeper/docker-compose-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
"meter"}}, "input_5": {"displayOrder": 5, "label": "Dream (or nightmare)
of the night", "description": "Defines the size of the dream that will be
generated [0:]", "defaultValue": 0, "type": "ref_contentSchema", "contentSchema":
{"title": "Dream of the night", "type": "integer", "x_unit": "bytes", "minimum":
{"title": "Dream of the night", "type": "integer", "x_unit": "byte", "minimum":
0}}}}'
io.simcore.integration-version: '{"integration-version": "1.0.0"}'
io.simcore.key: '{"key": "simcore/services/comp/itis/sleeper"}'
Expand All @@ -40,7 +40,7 @@ services:
"Contains some random data representing a dream", "type": "data:text/plain",
"fileToKeyMap": {"dream.txt": "output_3"}}}}'
io.simcore.type: '{"type": "computational"}'
io.simcore.version: '{"version": "2.2.0"}'
io.simcore.version: '{"version": "2.2.1"}'
org.label-schema.build-date: ${BUILD_DATE}
org.label-schema.schema-version: '1.0'
org.label-schema.vcs-ref: ${VCS_REF}
Expand Down Expand Up @@ -74,7 +74,7 @@ services:
"meter"}}, "input_5": {"displayOrder": 5, "label": "Dream (or nightmare)
of the night", "description": "Defines the size of the dream that will be
generated [0:]", "defaultValue": 0, "type": "ref_contentSchema", "contentSchema":
{"title": "Dream of the night", "type": "integer", "x_unit": "bytes", "minimum":
{"title": "Dream of the night", "type": "integer", "x_unit": "byte", "minimum":
0}}}}'
io.simcore.integration-version: '{"integration-version": "1.0.0"}'
io.simcore.key: '{"key": "simcore/services/comp/itis/sleeper-gpu"}'
Expand All @@ -89,7 +89,7 @@ services:
"Contains some random data representing a dream", "type": "data:text/plain",
"fileToKeyMap": {"dream.txt": "output_3"}}}}'
io.simcore.type: '{"type": "computational"}'
io.simcore.version: '{"version": "2.2.0"}'
io.simcore.version: '{"version": "2.2.1"}'
org.label-schema.build-date: ${BUILD_DATE}
org.label-schema.schema-version: '1.0'
org.label-schema.vcs-ref: ${VCS_REF}
Expand Down Expand Up @@ -125,7 +125,7 @@ services:
"meter"}}, "input_5": {"displayOrder": 5, "label": "Dream (or nightmare)
of the night", "description": "Defines the size of the dream that will be
generated [0:]", "defaultValue": 0, "type": "ref_contentSchema", "contentSchema":
{"title": "Dream of the night", "type": "integer", "x_unit": "bytes", "minimum":
{"title": "Dream of the night", "type": "integer", "x_unit": "byte", "minimum":
0}}}}'
io.simcore.integration-version: '{"integration-version": "1.0.0"}'
io.simcore.key: '{"key": "simcore/services/comp/itis/sleeper-mpi"}'
Expand All @@ -140,7 +140,7 @@ services:
"Contains some random data representing a dream", "type": "data:text/plain",
"fileToKeyMap": {"dream.txt": "output_3"}}}}'
io.simcore.type: '{"type": "computational"}'
io.simcore.version: '{"version": "2.2.0"}'
io.simcore.version: '{"version": "2.2.1"}'
org.label-schema.build-date: ${BUILD_DATE}
org.label-schema.schema-version: '1.0'
org.label-schema.vcs-ref: ${VCS_REF}
Expand Down
12 changes: 7 additions & 5 deletions services/sleeper/service.cli/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#!/bin/sh
#---------------------------------------------------------------
# AUTO-GENERATED CODE, do not modify this will be overwritten!!!
Expand All @@ -8,16 +9,17 @@ set -o nounset
IFS=$(printf '\n\t')
cd "$(dirname "$0")"
json_input=$INPUT_FOLDER/inputs.json

INPUT_1=$INPUT_FOLDER/single_number.txt
export INPUT_1
INPUT_2=$(jq <"$json_input" '.input_2')
INPUT_2=$(< "$json_input" jq '.input_2')
export INPUT_2
INPUT_3=$(jq <"$json_input" '.input_3')
INPUT_3=$(< "$json_input" jq '.input_3')
export INPUT_3
INPUT_4=$(jq <"$json_input" '.input_4')
INPUT_4=$(< "$json_input" jq '.input_4')
export INPUT_4
INPUT_5=$(jq <"$json_input" '.input_5')
INPUT_5=$(< "$json_input" jq '.input_5')
export INPUT_5

exec execute.sh

0 comments on commit b3eebf7

Please sign in to comment.