No project description provided
Project description
dls_marco_score_ispby ia a script which runs the marco scoring tool for images passed to it in a list and writes the scores into ispyb database using ispby API.
There are two requirements for it tow work:
the connection to the database has
the images for which the scoring is calculate need to be add to the database table called ispyb.BLSampleImage.
See comments in ticket VMXI-488 for more details.
Once the local database connection is established and the image added to the database the script can be used as follows:
import dls_marco_score_ispyb.score as ms
crystal_images = [‘imgae1’, ‘image2’]
ms.run(crystal_images)
Features
The script takes 3 parameters. The first one is the list of image names (absolute path) and is an obligatory parameter. The second is the path to the ispyb config file, this is a optional parameter with the default path to the local host (see file dls_marco_score_ispby/config.conf) The third parameter is the path to the marco model, this is also an optional parameter, the default value is the path to the model packaged up with the module (see folder dls_marco_score_ispby/savemodel)
Installation
dls_marco_score_ispyb is part of dls-python3. In order to install it do:
pip install dls_marco_score_ispyb
Contribute
The source code of dls_marco_score_ispyb is on gitlab - Source Code: https://gitlab.diamond.ac.uk/controls/python3/dls_marco_score_ispyb
Support
If you are having issues, please contact Urszula Neuman at urszula.neuman@diamond.ac.uk
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dls_marco_score_ispyb-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5bf48f1b90aa8ea21124603668199247ba355e1927b1f9407c5ef82cf35a43 |
|
MD5 | 81863d3d8b6a9c91d715e57c6662b388 |
|
BLAKE2b-256 | f15bd54555425c38ab981a22ea06fa9bebec4d47c3146526e614fa10ab69353a |
Hashes for dls_marco_score_ispyb-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568bd250a3760b092ed8886763b999785605c1f064e290ea419da857ee9cccd7 |
|
MD5 | 10ca7077d6a531086c23b91952f62ada |
|
BLAKE2b-256 | 105cc448d3ecd00d5f7639e0de9f8c86da76b4a1f2050a93ccfff2116686ddad |