Replacement for soakdb2, including a new database backend.
Project description
XChem replacement for soakdb2, including a new database backend.
repositories
There are two repositories involved. The first is this one, soakdb3. This is where the code is, both front end and back end. It is on the public github.
The second one is soakdb3_configuration. This has the specific runtime configuration for the processes. It is on the Diamond gitlab.
front end
Front-end runtime is two Excel spreadsheets. These are deployed in the shared filesystem.
The front-end spreadsheet is started from soakdb3.bat in the visit directory. The soakdb3.bat master copy is deployed in the shared filesystem as well.
To deploy a new version of the front-end, you cd to the soakdb3_configuration folder and type “make deploy_spreadsheets”
Development - Starting the Back End
Furthermore, assume you have checked out the test data into c:27soakdb3.
cd soakdb3 pip install -e . soakdb3.cli start_services –c configurations/development.yaml
Development - Starting the Front End
Assume you have checked out this repo into the folder c:27soakdb3. Furthermore, assume you have checked out the test data into c:27soakdb3_test_data.
To run the spreadsheet on a development computer:
set SOAKDB3_VISITID=c:\27\soakdb3_test_data\lb19758-64\processing\lab36\.. set SOAKDB3_CONFIGFILE=c:\27\soakdb3\src\soakdb3_xls\excel_config.json start excel /x c:\27\soakdb3\src\soakdb3_xls\soakDB_v3.0.xlsm
To open the spreadsheet without running the initialization code so you can edit it:
set SOAKDB3_EDITABLE=yes
Documentation
See https://diamondlightsource.github.io/soakdb3 for more detailed documentation.
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
File details
Details for the file soakdb3-1.7.1.tar.gz
.
File metadata
- Download URL: soakdb3-1.7.1.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f1f8be65b91169eaaed541ee833226b86e73933d45fa3cf60624b941d30d716 |
|
MD5 | 32e0dc9422b601ebdc594bc3628dc457 |
|
BLAKE2b-256 | 46a43130fcb05237a92e92044f58498c35960d460e3d6cecc7fa2ea63c84cb7f |
File details
Details for the file soakdb3-1.7.1-py3-none-any.whl
.
File metadata
- Download URL: soakdb3-1.7.1-py3-none-any.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd974aa7488fb711ce5aee9e7360bb5f8a2905119a853db4d519cfca122cff57 |
|
MD5 | 4147ae19c254af7d041cdde633f0de46 |
|
BLAKE2b-256 | 287db5a0be7ef26c18adeddf7d81d2d1d6175ef5b543572cc76664ad8217b460 |