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

add main and have CSVConvert as CLI script #57

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

mshadbolt
Copy link
Contributor

This change adds CSVConvert as a project script which allows a user to simply use the name of the script to call the script, rather than the whole path. This required adding a main method to the script but hasn't changed any functionality. Expected functionality is now

cd clinical_ETL_code
pip install -e .
CSVConvert --input <path to raw_data> --manifest <path to manifest>

@mshadbolt mshadbolt requested a review from daisieh March 6, 2024 17:38
Copy link
Member

@daisieh daisieh left a comment

Choose a reason for hiding this comment

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

LGTM! Works as expected.

@mshadbolt mshadbolt merged commit 1513b0d into develop Mar 6, 2024
2 checks passed
@mshadbolt mshadbolt deleted the mshadbolt/CSVConvert-entrypoint branch March 6, 2024 18:45
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.

2 participants