Skip to content

Commit

Permalink
Merge branch 'release/v0.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
philopon committed Sep 3, 2017
2 parents 590fd85 + 21247fe commit 873a230
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"license": "BSD3",
"creators": [
{
"name": "Hirotomo Moriwaki"
}
]
}
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Documentation
- `master <http://mordred-descriptor.github.io/documentation/master>`__
- `develop <http://mordred-descriptor.github.io/documentation/develop>`__

- `v0.5.1 <http://mordred-descriptor.github.io/documentation/v0.5.1>`__
- `v0.5.0 <http://mordred-descriptor.github.io/documentation/v0.5.0>`__
- `v0.4.1 <http://mordred-descriptor.github.io/documentation/v0.4.1>`__
- `v0.4.0 <http://mordred-descriptor.github.io/documentation/v0.4.0>`__
Expand Down
12 changes: 10 additions & 2 deletions mordred/RingCount.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,18 @@ def description(self):
else:
o = "{}-membered ".format(self._order)

return "{}{}{}ring count".format(
if self._aromatic is None:
a = ""
elif self._aromatic is True:
a = "aromatic "
else:
a = "aliphatic "

return "{}{}{}{}ring count".format(
o,
a,
"fused " if self._fused else "",
"aromatic " if self._aromatic else "",
"hetero " if self._hetero else "",
)

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion mordred/_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.5.1

0 comments on commit 873a230

Please sign in to comment.