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

Batch sample import service #897

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JeffreyThiessen
Copy link
Member

@JeffreyThiessen JeffreyThiessen commented Jan 14, 2025

What does this PR do and why?

Describe in detail what your merge request does and why.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

u = User.all[3]

p = Project.all[0]

s = Samples::FileImportService.new(p,u, {file: '/home/CSCScience.ca/jthiessen/git/irida-next-core/test/fixtures/files/valid_batch_sample_import.csv', sample_name_column: 'sample_name'} ) 

s.execute

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

@JeffreyThiessen JeffreyThiessen force-pushed the batch_sample_import_service branch from 6bb7ad9 to b034367 Compare January 15, 2025 20:52
Copy link

Code Metrics Report

Coverage Test Execution Time
92.2% 9m58s

Code coverage of files in pull request scope (0.0%)

Files Coverage
app/services/samples/file_import_service.rb 0.0%

Reported by octocov

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.

1 participant