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
suggestion by @dcol2804 to add a tutorial on building the traits dictionary yml file
indicating more about indention and special characters that might cause problems (I'm assuming things like brackets around certain units).
in addition, we should build a function that converts a pair of csv files into the traits.yml, taking advantage of the code we'd developed for APD. (One main traits csv file and a second file with categorical traits values and their definitions.)
The text was updated successfully, but these errors were encountered:
Here are my thoughts for a quick introduction to editing .yml files, using the traits.yml as an example.
Brief introduction about what a yml file is and their importance function in the traits.build package - (e.g. interface between human readable text and programming languages, heirarchical structure defined by indentation), see traits.build-template traits.yml file and give an example.
Get the user to edit the traits.yml file, for example create a new trait below the others. (I'm sure @ehwenk will have tonnes of advice about how to structure a definition, how to define units, watch out for using symbols in the units). Tell the user which categories in a trait are essential for building austraits e.g. type, allowed values.
Have an example of copying some definition text into a new trait and it having the wrong indentation for example. Then remake AusTraits and show the error. Then give an explanation of how to fix it.
Another error which held me up was a few spaces at the bottom of the traits.yml - as an R user I haven't trained my eye to look out for spaces in code..:
incomplete final line found on 'config/traits.yml'
Backtrace:
▆
The text was updated successfully, but these errors were encountered: