Once your EyeArt analysis results have been exported into a nice and clean .csv (Eyenuk Reports/Results_CSV/EyenukAnalysisResults_YYYYMMDD_HHhMMmSSs.csv), it only takes one line of code to:
-
Update your spreadsheet for ophthamology consultation referrals letters (from
Eyenuk Reports/Processing Log/BioPortal-Consultletters_DATA_LABELS_YYYY-MM-DD_NNNN.csvtoEyenuk Reports/Processing Log/DATA_LABELS_YYYY-MM-DD_DATA_LABELS.xlsx); -
Update your EyeArt analysis result tracker (
Eyenuk Reports/Processing Log/Reports Processing Log.xlsx) (and duplicate the previous copy asEyenuk Reports/Processing Log/Reports Processing Log-initial_file_YYYY-MM-DD.xlsx); -
Generate a data file that can safely be input into REDCap (
Eyenuk Reports/Results_CSV/EyenukAnalysisResults_YYYMMDD_HHhMMmSSs-REDCap.csv).
Note: throughout
eyeart_streamline.py, there are several checkpoints that append information to a textfile called (EyeArt_Streamline/sanity_check_YYYY_MM_DD.txt) so that you can ensure that everything is functioning as expected. Each checkpoint is preceded by a### Sanity check Xcomment in theeyeart_streamline.pycode.
-
Download Anaconda Distribution for Windows.
-
Set up your working directory (
Eyenuk Reports):
└───Eyenuk Reports
├───EyeArt_Streamline
│ └─── environment.yml
│ └─── eyeart_streamline.py
├───Processing Log
│ └─── BioPortal-Consultletters_DATA_LABELS_YYYY-MM-DD_NNNN.csv
│ └─── Reports Processing Log.xlsx
└───Results_CSV
└─── EyenukAnalysisResults_YYYYMMDD_HHhMMmSSs.csv
-
Open Visual Studio Code through the Anaconda Navigator.
-
Navigate to your working directory (
Eyenuk Reports) and set up the following Conda environment:
cd PATH/TO/Eyenuk Reports/EyeArt_Streamline
conda env create -f environment.yml
conda activate eyeart_env
Note: if using Windows, make sure to do this through the VS Code Command Prompt (not Powershell) Note: if using Mac, you may need to:
conda install openpyxl
- Run!
python eyeart_streamline.py
Columns:
PatientID: MRN:####### RAMQ:############
Columns:
Record ID: number assigned to patient for the study for anonymization purposes.RAMQ Number: ############Medical Record Number (MRN): #######
Columns:
Record ID: number assigned to patient for the study for anonymization purposes.