Skip to content

Commit

Permalink
fixed issue #368
Browse files Browse the repository at this point in the history
:Problem: docstrings in modeleditor.py ask for of ALL_CAPS.
:Solution: eppy no longer needs ALL_CAPS keys. Removed ALL_CAPS from docstrings
  • Loading branch information
Santosh Philip committed Dec 10, 2021
1 parent 8adba47 commit d6e0c42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions eppy/modeleditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def newrawobject(data, commdct, key, block=None, defaultvalues=True):
commdct : list of dicts
Comments from the IDD file describing each item type in `data`.
key : str
Object type of the object to add (in ALL_CAPS).
Object type of the object to add .
Returns
-------
Expand Down Expand Up @@ -747,7 +747,7 @@ def newidfobject(self, key, aname="", defaultvalues=True, **kwargs):
Parameters
----------
key : str
The type of IDF object. This must be in ALL_CAPS.
The type of IDF object.
aname : str, deprecated
This parameter is not used. It is left there for backward
compatibility.
Expand Down Expand Up @@ -786,7 +786,7 @@ def popidfobject(self, key, index):
Parameters
----------
key : str
The type of IDF object. This must be in ALL_CAPS.
The type of IDF object.
index : int
The index of the object to pop.
Expand Down Expand Up @@ -839,7 +839,7 @@ def getobject(self, key, name):
Parameters
----------
key : str
The type of IDF object. This must be in ALL_CAPS.
The type of IDF object.
name : str
The name of the object to fetch.
Expand All @@ -859,7 +859,7 @@ def getextensibleindex(self, key, name):
Parameters
----------
key : str
The type of IDF object. This must be in ALL_CAPS.
The type of IDF object.
name : str
The name of the object to fetch.
Expand All @@ -879,7 +879,7 @@ def removeextensibles(self, key, name):
Parameters
----------
key : str
The type of IDF object. This must be in ALL_CAPS.
The type of IDF object.
name : str
The name of the object to fetch.
Expand Down

0 comments on commit d6e0c42

Please sign in to comment.