Skip to content

Commit

Permalink
added link to YouTube playlist and fixed error warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoTartarini committed Apr 13, 2020
1 parent 59482c8 commit ef2c5da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ Examples and Tutorials
YouTube `tutorials`_ playlist

.. _tutorials: https://www.youtube.com/playlist?list=PLY91jl6VVD7zMaJjRVrVkaBtI56U7ztQC

.. raw:: html

<div style="margin-bottom:2rem">
<iframe id="ytplayer" type="text/html" width="100%" height="360"
src="https://www.youtube.com/embed?listType=playlist&list=PLY91jl6VVD7zMaJjRVrVkaBtI56U7ztQC"
frameborder="0"></iframe>
</div>
2 changes: 1 addition & 1 deletion src/pythermalcomfort/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def check_standard_compliance(standard, **kwargs):
for key, value in params.items():
if key in ['tdb', 'tr']:
if value > 40 or value < 10:
warnings.warn("ASHRAE air temperature applicability limits between 10 and 50 °C", UserWarning)
warnings.warn("ASHRAE air temperature applicability limits between 10 and 40 °C", UserWarning)
if key in ['v', 'vr']:
if value > 2 or value < 0:
warnings.warn("ASHRAE air velocity applicability limits between 0 and 2 m/s", UserWarning)
Expand Down

0 comments on commit ef2c5da

Please sign in to comment.