Skip to content

Commit e13418d

Browse files
author
Sebastian Raschka
authored
Merge pull request #67 from rasbt/v0.2.6
V0.2.6
2 parents 75a2d15 + 4590b1d commit e13418d

File tree

181 files changed

+1594
-39658
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+1594
-39658
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to make participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity, and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language;
18+
* Being respectful of differing viewpoints and experiences;
19+
* Gracefully accepting constructive criticism;
20+
* Focusing on what is best for the community;
21+
* Showing empathy towards other community members.
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances;
27+
* Trolling, gaslighting, insulting/derogatory comments, and personal or political attacks;
28+
* Public or private harassment;
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission;
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting.
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within the project and public spaces
49+
when an individual represents the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or other unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality concerning the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
69+
70+
## Attribution
71+
72+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
73+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
74+
75+
[homepage]: https://www.contributor-covenant.org
76+
77+
For answers to common questions about this code of conduct, see
78+
https://www.contributor-covenant.org/faq
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
name: Bug report
3+
about: Report and reproduce a bug
4+
title: ''
5+
labels: 'Bug'
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
If this is your first Issue submitted to the BioPandas Issue Tracker, please review
12+
the code of conduct, which is available at http://rasbt.github.io/biopandas/Code-of-Conduct/.
13+
-->
14+
15+
16+
<!--
17+
Before submitting a bug, please check the recent Changelog entries at
18+
https://github.com/rasbt/biopandas/blob/master/docs/sources/CHANGELOG.md
19+
and do a quick search in the Issue Tracker (https://github.com/rasbt/biopandas/issues)
20+
to make sure the issue hasn't been already
21+
addressed.
22+
-->
23+
24+
#### Describe the bug
25+
26+
<!--
27+
Briefly describe what the bug is.
28+
-->
29+
30+
#### Steps/Code to Reproduce
31+
32+
<!--
33+
34+
35+
<!--
36+
Please add a minimal example that can help understand and reproduce the bug.
37+
Ideally, this should be a self-contained code example that can be run
38+
on our computer with easily accessible datasets (ideally, datasets contained
39+
in scikit-learn or BioPandas itself).
40+
41+
42+
Example:
43+
44+
```python
45+
import numpy as np
46+
from biopandas.evaluate import bootstrap
47+
48+
49+
rng = np.random.RandomState(123)
50+
x = rng.normal(loc=5., size=100)
51+
original, std_err, ci_bounds = bootstrap(x, num_rounds=1000, func=np.mean, ci=0.95, seed=123)
52+
print('Mean: %.2f, SE: +/- %.2f, CI95: [%.2f, %.2f]' % (original,
53+
std_err,
54+
ci_bounds[0],
55+
ci_bounds[1]))
56+
```
57+
58+
If the code is too long, feel free to put it in a public gist and link
59+
it in the issue: https://gist.github.com
60+
-->
61+
62+
```python
63+
Insert your example code here.
64+
```
65+
66+
#### Expected Results
67+
68+
<!-- Please paste or describe the expected results.-->
69+
70+
#### Actual Results
71+
<!-- Please paste or specifically describe the actual output or error traceback. -->
72+
73+
#### Versions
74+
75+
<!--
76+
Please run the following snippet and paste the output below.
77+
import biopandas; print("biopandas", biopandas.__version__)
78+
import platform; print(platform.platform())
79+
import sys; print("Python", sys.version)
80+
import sklearn; print("Scikit-learn", sklearn.__version__)
81+
import numpy; print("NumPy", numpy.__version__)
82+
import scipy; print("SciPy", scipy.__version__)
83+
-->
84+
85+
86+
<!-- Thanks for contributing! -->
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Documentation improvement
3+
about: Issues or confusions regarding the documentation
4+
title: ''
5+
labels: Documentation
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
If this is your first Issue submitted to the BioPandas Issue Tracker, please review
12+
the code of conduct, which is available at http://rasbt.github.io/biopandas/CODE_OF_CONDUCT/.
13+
-->
14+
15+
16+
#### Describe the documentation issue
17+
18+
<!--
19+
Tell us about the confusion introduced in the documentation.
20+
-->
21+
22+
#### Suggest a potential improvement or addition
23+
24+
<!--
25+
Tell us how we could improve the documentation in this regard.
26+
-->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new algorithm, enhancement to an existing algorithm, etc.
4+
title: ''
5+
labels: New Feature
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
If this is your first Issue submitted to the BioPandas Issue Tracker, please review
12+
the code of conduct, which is available at http://rasbt.github.io/biopandas/CODE_OF_CONDUCT/.
13+
-->
14+
15+
16+
#### Describe the workflow you want to enable
17+
18+
#### Describe your proposed solution
19+
20+
#### Describe alternatives you've considered, if relevant
21+
22+
#### Additional context

.github/ISSUE_TEMPLATE/OTHER.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Other
3+
about: Issues that don't fall into any of the other categories
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
If this is your first Issue submitted to the BioPandas Issue Tracker, please review
12+
the code of conduct, which is available at http://rasbt.github.io/biopandas/CODE_OF_CONDUCT/.
13+
-->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Usage question
3+
about: If you have a usage question
4+
title: ''
5+
labels: Question
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
If this is your first Issue submitted to the BioPandas Issue Tracker, please review
12+
the code of conduct, which is available at http://rasbt.github.io/biopandas/CODE_OF_CONDUCT/.
13+
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,39 @@
1-
<!-- Please read the following guidelines for new Pull Requests -- thank you! -->
1+
### Code of Conduct
22

3-
<!--
4-
Make sure that you submit this pull request as a separate topic branch (and not to "master")
3+
<!--
4+
If this is your first Pull Request for the BioPandas repository, please review
5+
the code of conduct, which is available at http://rasbt.github.io/biopandas/CODE_OF_CONDUCT/.
56
-->
67

7-
<!-- Provide a small summary describing the Pull Request below -->
88

99
### Description
1010

11-
Insert Description Here
11+
<!--
12+
Please insert a brief description of the Pull request below.
13+
-->
1214

1315
### Related issues or pull requests
1416

15-
<!-- Please provide a link to the respective issue on the [Issue Tracker](https://github.com/rasbt/biopandas/issues) if one exists. E.g.,
16-
17-
Fixes #<ISSUE_NUMBER> -->
18-
19-
Link related issues/pull requests here
20-
21-
<!-- Below is a general todo list for typical pull request -->
17+
<!--
18+
If applicable, please link related issues/pull request below. For example,
19+
"Fixes #366". Note that the "Fixes" keyword in GitHub will automatically
20+
close the listed issue upon merging this Pull Request.
21+
-->
2222

23-
### Pull Request requirements
23+
### Pull Request Checklist
2424

25-
For new features or bug fixes, pleas consider the following to-do list:
25+
<!--
26+
Please fill out the following checklist if applicable. For more more information and help, please see the Contributor Documentation avaialable at http://rasbt.github.io/biopandas/contributing/.
27+
-->
2628

27-
- [ ] Added appropriate unit test functions in the `./biopandas/*/tests` directories
28-
- [ ] Ran `nosetests ./biopandas -sv` and make sure that all unit tests pass
29-
- [ ] Checked the test coverage by running `nosetests ./biopandas --with-coverage`
29+
- [ ] Added a note about the modification or contribution to the `./docs/sources/CHANGELOG.md` file (if applicable)
30+
- [ ] Added appropriate unit test functions in the `./biopandas/*/tests` directories (if applicable)
31+
- [ ] Modify documentation in the corresponding Jupyter Notebook under `biopandas/docs/sources/` (if applicable)
32+
- [ ] Ran `PYTHONPATH='.' pytest ./biopandas -sv` and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., `PYTHONPATH='.' pytest ./biopandas/classifier/tests/test_stacking_cv_classifier.py -sv`)
3033
- [ ] Checked for style issues by running `flake8 ./biopandas`
31-
- [ ] Added a note about the modification or contribution to the `./docs/sources/`CHANGELOG.md` file
32-
- [ ] Modified documentation in the appropriate location under `biopandas/docs/sources/` (optional)
33-
- [ ] Checked that the Travis-CI build passed at https://travis-ci.org/rasbt/biopandas
34-
35-
3634

3735

38-
<!--
39-
NOTE
40-
36+
<!--NOTE
4137
Due to the improved GitHub UI, the squashing of commits is no longer necessary.
4238
Please DO NOT SQUASH commits since they help with keeping track of the changes during the discussion).
43-
44-
For more information and instructions, please see http://rasbt.github.io/biopandas/contributing/
4539
-->

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
site
12
docs/py-docstring-parser/
23
docs/site/
34
docs/sources/api_modules/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Logo](./docs/sources/img/logos/logo.png)
1+
![Logo](./docs/img/logos/logo.png)
22

33
**Working with molecular structures in pandas DataFrames**
44

@@ -34,7 +34,7 @@ So, why don't we take pandas to the structural biology world? Working with molec
3434

3535
## Examples
3636

37-
![3eiy](./docs/sources/img/index/3eiy.png)
37+
![3eiy](./docs/img/index/3eiy.png)
3838

3939
```python
4040
# Initialize a new PandasPdb object
@@ -44,13 +44,13 @@ So, why don't we take pandas to the structural biology world? Working with molec
4444
>>> ppdb.df['ATOM'].head()
4545
```
4646

47-
![3eiy head](./docs/sources/img/index/3eiy_head.png)
47+
![3eiy head](./docs/img/index/3eiy_head.png)
4848

4949
<br><br>
5050
<br><br>
5151

5252

53-
![3eiy head](./docs/sources/img/index/ligand_rmsd.png)
53+
![3eiy head](./docs/img/index/ligand_rmsd.png)
5454

5555
```python
5656
# Load structures from your drive and compute the

0 commit comments

Comments
 (0)