Skip to content

Commit ec23007

Browse files
authored
v0.2.2 (#39)
1 parent c33e1a3 commit ec23007

File tree

5 files changed

+46
-7
lines changed

5 files changed

+46
-7
lines changed

biopandas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# Project Website: http://rasbt.github.io/biopandas/
55
# Code Repository: https://github.com/rasbt/biopandas
66

7-
__version__ = '0.2.2dev'
7+
__version__ = '0.2.2'
88
__author__ = "Sebastian Raschka <[email protected]>"

docs/sources/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The CHANGELOG for the current development version is available at
44
[https://github.com/rasbt/biopandas/blob/master/docs/sources/CHANGELOG.md](https://github.com/rasbt/biopandas/blob/master/docs/sources/CHANGELOG.md).
55

6-
### 0.2.2dev (TBD)
6+
### 0.2.2 (06-07-2017)
77

88
##### Downloads
99

@@ -12,11 +12,12 @@ The CHANGELOG for the current development version is available at
1212

1313
##### New Features
1414

15-
- New `PandasPdb.pdb_path` and `PandasMol2.mol2_path` attributes that store the location of the data file last read.
15+
- -
1616

1717
##### Changes
1818

19-
- Add meaningful error message if attempting to overwrite the `df` attributes of `PandasMol2` and `PandasPdb` directly.
19+
- Raises a meaningful error message if attempting to overwrite the `df` attributes of `PandasMol2` and `PandasPdb` directly.
20+
- Added `PandasPdb.pdb_path` and `PandasMol2.mol2_path` attributes that store the location of the data file last read.
2021

2122
##### Bug Fixes
2223

docs/sources/api_subpackages/biopandas.mol2.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
biopandas version: 0.2.1
1+
biopandas version: 0.2.2dev
22
## PandasMol2
33

44
*PandasMol2()*
@@ -21,6 +21,11 @@ Object for working with Tripos Mol2 structure files.
2121

2222
ID, code, or name of the molecule stored
2323

24+
25+
- `pdb_path` : str
26+
27+
Location of the MOL2 file that was read in via `read_mol2`
28+
2429
### Methods
2530

2631
<hr>

docs/sources/api_subpackages/biopandas.pdb.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
biopandas version: 0.2.1
1+
biopandas version: 0.2.2dev
22
## PandasPdb
33

44
*PandasPdb()*
@@ -20,6 +20,13 @@ Object for working with Protein Databank structure files.
2020
PDB file contents in raw text format
2121

2222

23+
- `pdb_path` : str
24+
25+
Location of the PDB file that was read in via `read_pdb`
26+
or URL of the page where the PDB content was fetched from
27+
if `fetch_pdb` was called
28+
29+
2330
- `header` : str
2431

2532
PDB file description
Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
biopandas version: 0.2.1
1+
biopandas version: 0.2.2dev
2+
## assert_raises
3+
4+
*assert_raises(exception_type, message, func, *args, **kwargs)*
5+
6+
Check that an exception is raised with a specific message
7+
8+
**Parameters**
9+
10+
- `exception_type` : exception
11+
12+
The exception that should be raised
13+
14+
- `message` : str (default: None)
15+
16+
The error message that should be raised. Ignored if False or None
17+
18+
- `func` : callable
19+
20+
The function that raises the exception
21+
22+
- `*args` : positional arguments to `func`
23+
24+
25+
- `**kwargs` : keyword arguments to `func`
26+
27+

0 commit comments

Comments
 (0)