CanDIG / clinical_ETL_code

A library to convert clinical data in csv format into json documents for CanDIG ingestion
GNU Lesser General Public License v3.0
0 stars 0 forks source link

add main and have CSVConvert as CLI script #57

Closed mshadbolt closed 6 months ago

mshadbolt commented 6 months ago

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>