Skip to main content

scipion-ed

scipion-ed is the base plugin defining the Domain for Electron Diffraction image processing.

Installation

For using scipion-ed, we need to have a working Python 3 environment (e.g via virtualenv or conda). After that, we might easily install by:

pip install scipion-ed scipion-ed-dials

Development

For development, we probably want to download the source code and install from there. In that way changes can be made and we can test it quickly. We also need a working Python 3 environment and we recommend to create a development folder to download the source code.

# Create a folder for the installation
mkdir scipion-ed-dev
cd scipion-ed-dev

# Then we can install scipion-ed by:
git clone git@github.com:scipion-ed/scipion-ed.git
python -m pip install -e scipion-ed  # Install in the environment as development

# And also install the plugins
git clone git@github.com:scipion-ed/scipion-ed-dials.git
python -m pip install -e scipion-ed-dials  # Install in the environment as development

Publishing the package to PyPI

In order to make scipion-ed available to install with pip install scipion-ed, we need to:

python install twine restructuredtext-lint
cd scipion-ed

# It might be a good idea to check the README.rst before uploading:
rst-lint README.rst

python setup.py sdist
twine upload dist/scipion-ed-3.0.1.tar.gz

Running tests (TO BE UPDATED)

cd scipion-ed
cd pwed/tests
python -m unittest discover

# To visualize the test project you need to specify SCIPION_DOMAIN and SCIPION_VERSION
export SCIPION_DOMAIN=scipion-ed/pwed
export SCIPION_VERSION=3.0.0

python scipion-pyworkflow/pyworkflow/apps/pw_project.py TestEdBaseProtocols

Python 3 environments

For development, we probably want to download the source code and install from there. In that way changes can be made and we can test it quickly.

We also need a working Python 3 environment and we recommend to create a development folder to download the source code.

# Create a clean virtual environment
python -m virtualenv --python=python3 env
source env/bin/activate

It is also possible to use a conda environment.

# Create the environment
conda create -n sped-dev python=3.8 pip
conda activate sped-dev

Troubleshooting

If you get “error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1” you may need to install python3-dev: sudo apt install python3-dev -y

Tkinter with Python3

Tkinter with Conda

https://zenodo.org/badge/189014932.svg

Metadata

Release files for scipion-ed 3!1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scipion-ed 3!1.0.0
File Size Uploaded Provenance
scipion-ed-3!1.0.0.tar.gz 32.4 kB Without provenance Details

Release files / scipion-ed-3!1.0.0.tar.gz

Download URL scipion-ed-3!1.0.0.tar.gz
Size 32.4 kB
Tags Source
SHA-256 checksum
How to use checksums
152c176fddcfad6ed98bca10b018fe77bad59dc6430a02c282d2cf90e7cdb1ba
BLAKE2b-256 checksum
How to use checksums
1f36527c7589d3f8152dacdc544cd307b148245e386ee1ef95ee8fc58d8e572f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.1 requests/2.25.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Security for scipion-ed 3!1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page