You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The INI file doesn't match any convention I recognise and is quite hard to read. There are better config handlers that do the parsing and loading for free. Here is an example TOML config file that I would be happy to do the work converting to, but I wanted to run the ideology by you first.
title = "VMAT TBI configuration file"EAS = 2021-06-11#date only Site = "Saskatoon Cancer Center"Organization = "Saskatchewan Cancer Agency"#Paths are single quote'Document_Path = '\\enterprise.stanfordmed.org\depts\RadiationTherapy\Public\Users\ESimiele\Research\VMAT_TBI\documentation\'Linacs = ["LA16", "LA17"]
Energies = ["06X", "10X"]
[Plug-in]
flash.default_flash_type = "Global"flash.default_flash_margin = 0.5flash.default_target_margin = 0.3calc.calculation_model = "AAA_15605"calc.optimization_model = "PO_15605"default_isos = 5#Default beams per iso from sup to inf, must have same or more entries then default isosdefault_beams_per_iso = [4, 3, 2, 2, 2, 0, 0]
contour.field_overlap = truecontour.field_overlap_margin = 1.0Default_Sparing_Structures = [
["Lungs", "Mean Dose < Rx Dose", 0.3] ,
["Kidneys", "Mean Dose < Rx Dose", 0.0],
["Bowel", "Dmax ~ RX Dose", 0]
#format ["name", "type", margin]
]
[Cases]
[Cases.Scleroderma]
dose_per_fraction = 200number_of_fractions = 4constraints = [ #format ["Name", "type", dose, volume, priority]
["TS_PTV_VMAT", "Lower", 800.0, 100.0, 100]
#continued in same format
]
[Cases.Myeloablative]
dose_per_fraction = 200number_of_fractions = 6constraints = [[]]
[Cases.Non_Myeloablative]
dose_per_fraction = 200number_of_fractions = 6constraints = [[]]
sparing_structures = [
[ "Ovaries","Mean Dose < Rx Dose",1.5 ]
]
The text was updated successfully, but these errors were encountered:
Haha I made up the convention since I didn't know about TOML or the like. The only one I know of is XML, which I didn't want to spend the time implementing a XML parser in my last week of residency (I know now that it would be pretty simple to do, but I've been too lazy to change it haha).
I'm definitely on board with updating it as the config formatting gets messy and it's tough to keep adjusting the config parser every time I want to change something. If you could update it to TOML (since you are much more familiar with it) and open a PR, I would be totally open to implementing it. Let me know if you need me to do anything on my end.
The INI file doesn't match any convention I recognise and is quite hard to read. There are better config handlers that do the parsing and loading for free. Here is an example TOML config file that I would be happy to do the work converting to, but I wanted to run the ideology by you first.
The text was updated successfully, but these errors were encountered: