Gathering MX processing summaries
Project description
summarytable
real time data processing result summary at NSLS-II MX beamlines
D. Kreitler, 18Dec2020
updated 16May2022
summarytable is a python script that summarizes results from within mx data directories created by LSDC.
The script does the following:
- parses fast_dp.xml or autoPROC.xml files from auto processing pipelines
- prints the results to console in real time as results are available
- Concurrently updates result summaries to a file called "fast_dp.summary.txt" or "autoPROC.summary.txt"
Set-up
This script is can be run within the NSLS-II network on a machine that has access to Lustre/GPFS.
Installation
Try installing as a python3 package in your profile
For instance on a beamline workstation.
pip3 install summarytable --user
Or try installing with pip3 on your home workstation
pip3 install summarytable
Online/realtime Usage
Multiple users can monitor data directories in real time.
In your mx data directory, cd to the fast_dp_dir or autoProc_dir directory
run:
summarytable
The .csv file will be written when the process is stopped with Ctrl-C.
Offline Usage
run:
summarytable_offline
The .txt file and .csv file will be written immediately in the working directory.
Output
Summary table of results will be updated in files ending with .summary.txt and .summary.csv
in the working directory.
These files can be opened in Microsoft Excel or LibreOffice using commas/spaces as a delimiter.
/GPFS/CENTRAL/xf17id2/inhouse/Startup-2020-03/mx305000-69
|---------------Overall------------------||-------------Outer-Shell----------------|
Sample Path Hi Lo R_mrg cc12 comp mult Hi Lo R_mrg cc12 comp mult symm a b c alpha beta gamma
Mpro-oil-apo-2/4 2.44 28.00 0.112 0.98 98.50 3.50 2.44 2.50 0.498 0.73 96.20 3.60 C 1 2 1 114.2 54.0 44.8 90.0 101.3 90.0
Mpro-oil-apo-3/3 2.47 27.70 0.097 0.99 99.60 3.50 2.47 2.53 0.664 0.72 97.70 3.50 C 1 2 1 113.2 53.6 44.6 90.0 101.9 90.0
Mpro-oil-apo-4/4 2.54 27.58 0.100 0.99 99.40 3.50 2.54 2.61 0.546 0.66 95.00 3.40 C 1 2 1 112.8 53.5 44.7 90.0 102.0 90.0
Mpro-oil-apo-6/3 2.70 27.80 0.099 0.99 99.60 3.50 2.70 2.77 0.830 0.56 98.60 3.60 C 1 2 1 113.5 53.8 44.7 90.0 101.7 90.0
Mpro-oil-apo-7/4 2.27 27.96 0.087 0.99 99.60 3.50 2.27 2.33 0.688 0.52 97.80 3.30 C 1 2 1 114.1 53.9 44.8 90.0 101.5 90.0
Mpro-oil-apo-10/3 2.06 28.06 0.057 1.00 99.30 3.50 2.06 2.11 0.724 0.61 94.30 3.40 C 1 2 1 114.5 54.0 44.9 90.0 101.4 90.0
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
File details
Details for the file summarytable-0.1.8.tar.gz.
File metadata
- Download URL: summarytable-0.1.8.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3514d5baa119ce3baf891ca50898977875723b8caafd9affe9e7a58f926e6ed
|
|
| MD5 |
daed811b77dd7aef4d1cf06e5d0e7552
|
|
| BLAKE2b-256 |
148154435f2763c475390da7746405c1732819994c2030f1acf3ad38f82276ac
|