IronLedger program file checker
check_program_fileCheck a training program written as a CSV or TSV file exactly as the IronLedger app will import it, before anyone loads it on a phone. Returns the weeks, sessions and exercises it creates, every skipped row and warning with its row number, the exercise names the app will question ("Did you mean ...?"), and names that will become new custom exercises. Use it whenever you write a program for someone to import into IronLedger, and fix anything it reports first. The app names the program after the file, so pass the file name you will give it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The whole program file as text. Canonical header: Week,Day,Exercise,Sets,Reps,Load,RPE,RIR,Rest,Notes, then one row per exercise, such as 1,Day 1,Squat,5,5,100 kg,8,,3:00,belt. Wrap a cell that contains a comma in double quotes; never use a double quote inside a cell. | |
| fileName | No | The file name it will be saved as, such as "Texas Method.csv". The app names the program after it; without one the program is called Imported Spreadsheet. |