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
It would be useful for readers to have a short explainer on YAML, exhibiting the major features relevant to writing Demes models. When I search for similar things on google, most of the top hits are rather terrible.
The text was updated successfully, but these errors were encountered:
The YAML you've produced all looks good to me - I guess we could find an auto formatter (Black for YAML?) and settle on that as our preferred way to do it? I don't think it's that simple though, as we want people to lay the models out in a readable way, and sometimes flow style is better than indentation, and vice versa.
https://www.yaml.info/learn/bestpractices.html
The site also has some other useful info, including a nice tutorial and an extensive discussion on when quoting of strings is required (TLDR: its stupidly complicated and unreasonably onerous to figure it out from the YAML spec). The tute is still not something I'd just want to link to though, because we'd need to also say "ignore the stuff about aliases, anchors and tags"
It would be useful for readers to have a short explainer on YAML, exhibiting the major features relevant to writing Demes models. When I search for similar things on google, most of the top hits are rather terrible.
The text was updated successfully, but these errors were encountered: