Skip to content

Commit 6cb389e

Browse files
authored
Merge pull request #584 from ComputationalCryoEM/develop
Develop ~~> Master
2 parents 3223d6c + 0caaaf5 commit 6cb389e

File tree

102 files changed

+6291
-1660
lines changed

Some content is hidden

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

102 files changed

+6291
-1660
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.8.1
2+
current_version = 0.9.0
33
commit = True
44
tag = True
55

.github/workflows/workflow.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Python
1313
uses: actions/setup-python@v2
1414
with:
15-
python-version: 3.6
15+
python-version: '3.7'
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
@@ -25,15 +25,15 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python-version: [3.6, 3.7, 3.8]
28+
python-version: ['3.7', '3.8', '3.9', '3.10']
2929
pyenv: [stable, dev]
3030
exclude:
31-
# Exclude 3.6-stable so we can add pre and post tasks to that environment.
32-
- python-version: 3.6
31+
# Exclude 3.7-stable so we can add pre and post tasks to that environment.
32+
- python-version: '3.7'
3333
pyenv: stable
3434
include:
35-
# Re-include 3.6-stable with additional tox tasks.
36-
- python-version: 3.6
35+
# Re-include 3.7-stable with additional tox tasks.
36+
- python-version: '3.7'
3737
pyenv: stable,docs
3838

3939

@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup Python
6262
uses: actions/setup-python@v2
6363
with:
64-
python-version: 3.6
64+
python-version: '3.7'
6565
- name: Install Dependencies
6666
run: |
6767
python -m pip install --upgrade pip

CONTRIBUTORS.rst

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,35 @@ Developers of the Python and Matlab collection of ASPIRE codes are listed below.
99

1010
.. table:: Python Contributors
1111

12-
+------------------+--------------+---------------------------+----------------------+
13-
| Name | GithubID | Email | Affiliations |
14-
+==================+==============+===========================+======================+
15-
| Joakim Andén | janden | [email protected] | Princeton University |
16-
+------------------+--------------+---------------------------+----------------------+
17-
| Vineet Bansal | vineetbansal | [email protected] | Princeton University |
18-
+------------------+--------------+---------------------------+----------------------+
19-
| Robbie Brook | rbrook | [email protected] | Princeton University |
20-
+------------------+--------------+---------------------------+----------------------+
21-
| Ayelet Heimowitz | ayeltg | [email protected] | Princeton University |
22-
+------------------+--------------+---------------------------+----------------------+
23-
| Gabi Pragier | pgabi | [email protected] | Tel Aviv University |
24-
+------------------+--------------+---------------------------+----------------------+
25-
| Itay Sason | itaysason | [email protected] | Tel Aviv University |
26-
+------------------+--------------+---------------------------+----------------------+
27-
| Yoel Shkolnisky | yoelsh | [email protected] | Tel Aviv University |
28-
+------------------+--------------+---------------------------+----------------------+
29-
| Amit Singer | amitsinger | [email protected] | Princeton University |
30-
+------------------+--------------+---------------------------+----------------------+
31-
| Garrett Wright | garrettwrong | [email protected] | Princeton University |
32-
+------------------+--------------+---------------------------+----------------------+
33-
| Junchao Xia | junchaoxia | [email protected] | Princeton University |
34-
+------------------+--------------+---------------------------+----------------------+
12+
+------------------+-----------------+---------------------------+-----------------------------------+
13+
| Name | GithubID | Email | Affiliations |
14+
+==================+=================+===========================+===================================+
15+
| Joakim Andén | janden | [email protected] | KTH Royal Institute of Technology |
16+
+------------------+-----------------+---------------------------+-----------------------------------+
17+
| Vineet Bansal | vineetbansal | [email protected] | Princeton University |
18+
+------------------+-----------------+---------------------------+-----------------------------------+
19+
| Robbie Brook | rbrook | [email protected] | Princeton University |
20+
+------------------+-----------------+---------------------------+-----------------------------------+
21+
| Josh Carmichael | j-c-c | [email protected] | Princeton University |
22+
+------------------+-----------------+---------------------------+-----------------------------------+
23+
| Ayelet Heimowitz | ayeltg | [email protected] | Ariel University |
24+
+------------------+-----------------+---------------------------+-----------------------------------+
25+
| Chris Langfield | chris-langfield | [email protected] | Princeton University |
26+
+------------------+-----------------+---------------------------+-----------------------------------+
27+
| Amit Moscovich | mosco | [email protected] | Tel Aviv University |
28+
+------------------+-----------------+---------------------------+-----------------------------------+
29+
| Gabi Pragier | pgabi | [email protected] | Tel Aviv University |
30+
+------------------+-----------------+---------------------------+-----------------------------------+
31+
| Itay Sason | itaysason | [email protected] | Tel Aviv University |
32+
+------------------+-----------------+---------------------------+-----------------------------------+
33+
| Yoel Shkolnisky | yoelsh | [email protected] | Tel Aviv University |
34+
+------------------+-----------------+---------------------------+-----------------------------------+
35+
| Amit Singer | amitsinger | [email protected] | Princeton University |
36+
+------------------+-----------------+---------------------------+-----------------------------------+
37+
| Garrett Wright | garrettwrong | [email protected] | Princeton University |
38+
+------------------+-----------------+---------------------------+-----------------------------------+
39+
| Junchao Xia | junchaoxia | [email protected] | Princeton University |
40+
+------------------+-----------------+---------------------------+-----------------------------------+
3541

3642
|
3743

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
[![Azure Build Status](https://dev.azure.com/ComputationalCryoEM/Aspire-Python/_apis/build/status/ComputationalCryoEM.ASPIRE-Python?branchName=master)](https://dev.azure.com/ComputationalCryoEM/Aspire-Python/_build/latest?definitionId=3&branchName=master)
44
[![Github Actions Status](https://github.com/ComputationalCryoEM/ASPIRE-Python/actions/workflows/workflow.yml/badge.svg)](https://github.com/ComputationalCryoEM/ASPIRE-Python/actions/workflows/workflow.yml)
55
[![codecov](https://codecov.io/gh/ComputationalCryoEM/ASPIRE-Python/branch/master/graph/badge.svg?token=3XFC4VONX0)](https://codecov.io/gh/ComputationalCryoEM/ASPIRE-Python)
6+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5657281.svg)](https://doi.org/10.5281/zenodo.5657281)
67

7-
# ASPIRE - Algorithms for Single Particle Reconstruction - v0.8.1
8+
# ASPIRE - Algorithms for Single Particle Reconstruction - v0.9.0
89

910
This is the Python version to supersede the [Matlab ASPIRE](https://github.com/PrincetonUniversity/aspire).
1011

@@ -14,17 +15,24 @@ processing pipeline, including 3-D *ab-initio* modeling, 2-D class averaging, au
1415

1516
For more information about the project, algorithms, and related publications please refer to the [ASPIRE Project website](http://spr.math.princeton.edu/).
1617

17-
**For full documentation see [the docs](https://computationalcryoem.github.io/ASPIRE-Python).**
18+
**For full documentation and tutorials see [the docs](https://computationalcryoem.github.io/ASPIRE-Python).**
19+
20+
Please cite using the following DOI. This DOI represents all versions, and will always resolve to the latest one.
21+
22+
```
23+
ComputationalCryoEM/ASPIRE-Python: v0.9.0 https://doi.org/10.5281/zenodo.5657281
24+
25+
```
1826

1927
## Installation Instructions
2028

2129
For end-users
2230
-------------
2331

24-
ASPIRE is a pip-installable package that works on Linux/Mac/Windows, and requires Python 3.6. The simplest option is to use Anaconda 64-bit for your platform with a minimum of Python 3.6 and `pip`, and then use `pip` to install `aspire` in that environment.
32+
ASPIRE is a pip-installable package that works on Linux/Mac/Windows, and requires Python 3.7. The simplest option is to use Anaconda 64-bit for your platform with a minimum of Python 3.7 and `pip`, and then use `pip` to install `aspire` in that environment.
2533

2634
```
27-
conda create -n aspire_env python=3.6 pip
35+
conda create -n aspire_env python=3.7 pip
2836
conda activate aspire_env
2937
pip install aspire
3038
```
@@ -53,7 +61,7 @@ pip install -e ".[dev]"
5361
5462
```
5563

56-
If you prefer not to use Anaconda, or want to manage environments yourself, you should be able to use `pip` with Python >= 3.6.
64+
If you prefer not to use Anaconda, or want to manage environments yourself, you should be able to use `pip` with Python >= 3.7.
5765
Please see the full documentation for details.
5866

5967
You may optionally install additional packages for GPU extensions:

azure-pipelines.yml

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
vmImage: 'ubuntu-latest'
1515
strategy:
1616
matrix:
17-
Python36:
18-
python.version: '3.6'
17+
Python37:
18+
python.version: '3.7'
1919

2020
steps:
2121
- bash: echo "##vso[task.prependpath]$CONDA/bin"
@@ -36,8 +36,8 @@ jobs:
3636
vmImage: 'ubuntu-18.04'
3737
strategy:
3838
matrix:
39-
Python36:
40-
python.version: '3.6'
39+
Python37:
40+
python.version: '3.7'
4141

4242
steps:
4343
- bash: echo "##vso[task.prependpath]$CONDA/bin"
@@ -61,8 +61,8 @@ jobs:
6161
vmImage: 'macOS-latest'
6262
strategy:
6363
matrix:
64-
Python36:
65-
python.version: '3.6'
64+
Python37:
65+
python.version: '3.7'
6666

6767
steps:
6868
- bash: |
@@ -86,13 +86,13 @@ jobs:
8686
displayName: pytest
8787
8888
- job:
89-
displayName: macOS-10.14
89+
displayName: macOS-10.15
9090
pool:
91-
vmImage: 'macOS-10.14'
91+
vmImage: 'macOS-10.15'
9292
strategy:
9393
matrix:
94-
Python36:
95-
python.version: '3.6'
94+
Python37:
95+
python.version: '3.7'
9696

9797
steps:
9898
- bash: |
@@ -121,8 +121,8 @@ jobs:
121121
vmImage: 'windows-latest'
122122
strategy:
123123
matrix:
124-
Python36:
125-
python.version: '3.6'
124+
Python37:
125+
python.version: '3.7'
126126

127127
steps:
128128
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
@@ -139,28 +139,3 @@ jobs:
139139
pip install -e .[dev]
140140
pytest --random-order
141141
displayName: pytest
142-
143-
- job:
144-
displayName: vs2017-win2016
145-
pool:
146-
vmImage: 'vs2017-win2016'
147-
strategy:
148-
matrix:
149-
Python36:
150-
python.version: '3.6'
151-
152-
steps:
153-
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
154-
displayName: Add conda to PATH
155-
156-
- script: conda env create --name myEnvironment --file environment.yml
157-
displayName: Create Anaconda environment
158-
159-
- script: conda update -q -y conda
160-
displayName: Update conda
161-
162-
- script: |
163-
call activate myEnvironment
164-
pip install -e .[dev]
165-
pytest --random-order
166-
displayName: pytest

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
'gallery_dirs': ['auto_tutorials', 'auto_experiments'], # path to where to save gallery generated output
5050
'download_all_examples': False,
5151
'within_subsection_order': ExampleTitleSortKey,
52-
'filename_pattern': '/*.py',
52+
'filename_pattern': r'/tutorials/.*\.py', # Parse all gallery python files, but only execute tutorials.
5353
}
5454

5555
# Add any paths that contain templates here, relative to this directory.
@@ -74,7 +74,7 @@
7474
# built documents.
7575
#
7676
# The full version, including alpha/beta/rc tags.
77-
release = version = "0.8.1"
77+
release = version = "0.9.0"
7878

7979
# The language for content autogenerated by Sphinx. Refer to documentation
8080
# for a list of supported languages.

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Aspire v0.8.1
1+
Aspire v0.9.0
22
==============
33

44
Algorithms for Single Particle Reconstruction

docs/source/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Installation
22
============
33

4-
ASPIRE is based on Python 3.6, and comes with an ``environment.yml`` for reconstructing a working Conda environment to run the package.
4+
ASPIRE is based on Python 3.7, and comes with an ``environment.yml`` for reconstructing a working Conda environment to run the package.
55
The package is tested on Linux/Windows/Mac OS X. Pre-built binaries are available for all platform-specific components. No manual
66
compilation should be needed.
77

@@ -32,7 +32,7 @@ Finally, we install the ``aspire`` package inside the activated environment. Thi
3232

3333
::
3434

35-
conda create --name aspire_env python=3.6 pip
35+
conda create --name aspire_env python=3.7 pip
3636
conda activate aspire_env
3737
pip install aspire
3838

@@ -73,7 +73,7 @@ We recommend using ``conda`` or a ``virtualenv`` environment managing solutions
7373
Again, we recommend the above for consistency.
7474
However, ASPIRE is a ``pip`` package,
7575
so you can attempt to install it using standard ``pip`` or ``setup.py`` commands. There are methods such as ``pip --no-deps`` that can leave your other packages undisturbed, but this is left to the developer.
76-
ASPIRE should generally be compatible with newer version of Python, and newer dependent packages. We are currently testing 3.6, 3.7, 3.8 base Python as configured by ASPIRE, and with upgrading packages to the latest for each of those bases.
76+
ASPIRE should generally be compatible with newer version of Python, and newer dependent packages. We are currently testing 3.7, 3.8, 3.9, and 3.10 base Python as configured by ASPIRE, and with upgrading packages to the latest for each of those bases.
7777
If you encounter an issue with a custom pip install, we will try to help, but you may be on your own for support of this method of installation.
7878

7979
::

docs/source/quickstart.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Currently, the following operations can be run with ASPIRE:
1616
1. Particle-Picking
1717
###################
1818

19-
The ``apple`` command takes in a folder of one or more ``*.mrc`` files, picks particles using the Apple-Picker algorithm described at
19+
The ``apple`` command takes in a file or folder of one or more ``*.mrc`` files, picks particles using the Apple-Picker algorithm described at
2020
:cite:`DBLP:journals/corr/abs-1802-00469`, and generates ``*.star`` files, one for each ``*.mrc`` file processed, at an output folder location.
2121

2222
For example, to run the command on sample data included in ASPIRE (a single ``sample.mrc`` file provided from the 5.3 GB
@@ -26,7 +26,7 @@ For example, to run the command on sample data included in ASPIRE (a single ``sa
2626
.. code-block:: console
2727
2828
mkdir apple_output
29-
aspire apple --mrc_file /path/to/aspire/data/sample.mrc --output_dir particles
29+
aspire apple --mrc_path /path/to/aspire/data/sample.mrc --output_dir particles
3030
3131
Use the ``--help`` argument with the command to see the several options associated with this command.
3232

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ channels:
77
dependencies:
88
- fftw
99
- pip
10-
- python=3.6
10+
- python=3.7
1111
- pip:
1212
- .
1313

0 commit comments

Comments
 (0)