Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Upload Script #1343

Merged
merged 3 commits into from
May 10, 2023
Merged

Sample Upload Script #1343

merged 3 commits into from
May 10, 2023

Conversation

BryonLewis
Copy link
Collaborator

Adding a quick sample uploading script for DIVE using girder client.

@BryonLewis BryonLewis requested a review from marySalvi May 9, 2023 11:55
for file in os.listdir(folder):
if count >= limit:
break
if file.endswith(".mp4"):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we only support mp4? If so this is fine otherwise I think mimetype would be better

Discussed in person with Bryon. The conclusion is that this might be beneficial in the future but not necessary for this implementation.

@BryonLewis BryonLewis merged commit 8f9bb1c into main May 10, 2023
4 checks passed
@BryonLewis BryonLewis deleted the samplescripts branch May 10, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants