Closed zietzm closed 4 years ago
The following regex would parse the phenotype name and SQL code for each defined phenotype in the wiki. Basically just need a CI action to clone the wiki, parse the SQL phenotype definitions, build a delimited tabular file, and push it to this repo.
(?<=[^#]## )([A-Za-z0-9\-\ ]+)(?:.*?```SQL\n)(.+)(?:\n```)
This has been accomplished. Wiki is now built automatically from source files.
The following regex would parse the phenotype name and SQL code for each defined phenotype in the wiki. Basically just need a CI action to clone the wiki, parse the SQL phenotype definitions, build a delimited tabular file, and push it to this repo.
(?<=[^#]## )([A-Za-z0-9\-\ ]+)(?:.*?```SQL\n)(.+)(?:\n```)