Skip to content

Commit

Permalink
Merge pull request #1871 from cvisionai/dev/fix-concat-duration
Browse files Browse the repository at this point in the history
Dev/fix concat duration
  • Loading branch information
jrtcppv authored Nov 14, 2024
2 parents 575ad2f + 28d8bbd commit f040ec0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions doc/examples/workflow_template/echo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ kind: Workflow # new type of k8s spec
metadata:
generateName: echo- # name of the workflow spec
spec:
entrypoint: whalesay # invoke the whalesay template
entrypoint: echo # invoke the whalesay template
templates:
- name: whalesay # name of the template
- name: echo # name of the template
container:
image: docker/whalesay
command: [ cowsay ]
image: busybox
command: [ echo ]
args: [ "{{ message }}" ]
resources: # limit the resources
limits:
Expand Down
4 changes: 2 additions & 2 deletions test/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import tator
from tator.util._upload_file import _upload_file
from tator.transcode.determine_transcode import determine_transcode
from tator.transcode.determine_transcode import update_media
from tator.transcode.make_thumbnails import make_thumbnail_image, make_thumbnail_gif
from tator.transcode.transcode import make_video_definition

Expand Down Expand Up @@ -35,7 +35,7 @@ def create_media(api, project, host, token, type_id, fname, section, media_path)
media_id = response.id[0]

# Needed to update media level info
determine_transcode(host, token, type_id, media_id, media_path, 1080)
update_media(host, token, type_id, media_id, media_path)

with tempfile.TemporaryDirectory() as td:
try:
Expand Down

0 comments on commit f040ec0

Please sign in to comment.