3 Commits
0.7.5 ... 0.7.6

Author SHA1 Message Date
90552cee2c Updating for version 0.7.6 2023-08-02 15:17:06 +02:00
6164be16f0 fix y axis label in projection plot 2023-08-02 14:41:49 +02:00
07f03a2a04 Add .gitlab-ci.yml 2023-07-27 15:17:31 +02:00
3 changed files with 26 additions and 2 deletions

24
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,24 @@
stages:
- deploy-test
- deploy-prod
deploy-test:
stage: deploy-test
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- cd /opt/pyzebra
- git pull origin master --tags
- sudo systemctl restart pyzebra-test.service
deploy-prod:
stage: deploy-prod
rules:
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: delayed
start_in: 10 minutes
script:
- source /opt/miniconda3/etc/profile.d/conda.sh
- conda activate prod
- conda update pyzebra -y
- sudo systemctl restart pyzebra.service

View File

@ -6,4 +6,4 @@ from pyzebra.sxtal_refgen import *
from pyzebra.utils import *
from pyzebra.xtal import *
__version__ = "0.7.5"
__version__ = "0.7.6"

View File

@ -406,7 +406,7 @@ def create():
frame_range.bounds = (0, n_im)
scan_motor = scan["scan_motor"]
proj_y_plot.axis[1].axis_label = f"Scanning motor, {scan_motor}"
proj_y_plot.yaxis.axis_label = f"Scanning motor, {scan_motor}"
var = scan[scan_motor]
var_start = var[0]