  Borgs, Chayes, Gaudio, Petti and Sen [arXiv:2007.14508] proved a large
deviation principle for block model random graphs with rational block ratios.
We strengthen their result by allowing any block ratios (and also establish a
simpler formula for the rate function). We apply the new result to derive a
large deviation principle for graph sampling from any given step graphon.
