- Compatibility with SQLAlchemy 2. SQLAlchemy 1.4 remains supported.
- Update SQLAlchemy ORM models for ispyb-database v4.2.0.
- Azure pipelines CI: Use ispyb-database schema v4.2.0
- Use context manager interface to open ispyb connection (#210 <#210>)
- Update SQLAlchemy ORM models for ispyb-database v4.1.0.
- Azure pipelines CI: Use ubuntu-22.04 and install mariadb-client package
- Update SQLAlchemy ORM models for ispyb-database v4.0.1. This drops some previously mapped tables and columns, so is a breaking change.
- Update
MXAcquisition
class to use the stored procedureretrieve_grid_info_for_dc_v2
.
- Replace use of
procrunner
withsubprocess
- Remove method
insert_motion_correction_drift
and related dictionary in theEMAcquisition
class - Update SQLAlchemy ORM models for
ispyb-database
v3.0.0 - Rename
pixelsPerMicron
tomicronsPerPixel
in dicts andretrieve_dc_grid
result-set
- Require
mysql-connector-python>=8.0.32
(#203)
- Update SQLAlchemy ORM models for ispyb-database v2.0.0
- Remove
mxacquisition.upsert_xray_centring_result
(stored procedure removed in ispyb-database v2.0.0)
- Update SQLAlchemy ORM models for ispyb-database v1.35.0
ispyb.job
: bug fix for--new
option, broken by removal ofispyb.model
- New method
update_dc_append_comments
available in theAcquisition
andMXAcquisition
classes - Update SQLAlchemy ORM models for ispyb-database v1.34.0
- Remove deprecated
ispyb.model
ispyb.job
: bug fix - sweeps may start counting at 0- Added support for Python 3.11
- Remove support for Python 3.6 (end-of-life on 2021-12-23)
- Update SQLAlchemy ORM models for ispyb-database v1.33.0
- Pin mysql-connector-python version to 8.0.29
- Update SQLAlchemy ORM models for ispyb-database v1.31.0
- Update
insert_subsample_for_image_full_path()
to use stored procedure v2 and add optional parameterexperiment_type
- Update SQLAlchemy ORM models for ispyb-database v1.29.0
- The ISPyB database ORM model version can now be interrogated via
ispyb.sqlalchemy.__schema_version__
. - Added support for Python 3.10
- Update SQLAlchemy ORM models for ispyb-database v1.28.0
ispyb.job
is now less facility-specific and can handle recipe paths via a Zocalo configuration file (#162)
- Update SQLAlchemy ORM models for ispyb-database v1.27.0
- Correctly translate database stored procedure permission errors into
ISPyBException
#160
- Update SQLAlchemy ORM models for ispyb-database v1.26.0
- Update SQLAlchemy ORM models for ispyb-database v1.25.0
- Support XML file with multiple
AutoProcScalingContainers
#155 - Add ability to store values for the new column
AutoProcScalingStatistics.resIOverSigI2
#157 - Use new versions of stored procedures for
ParticlePicker
andParticleClassification
insert methods
ispyb.last_data_collections_on
is now more tolerant of data collections that do not have all fields populated.- Update SQLAlchemy ORM models for ispyb-database v1.23.1
- Update SQLAlchemy ORM models for ispyb-database v1.21.1
- Add insert methods for new cryo-EM tables. #150
- Change
ispyb.job
so that new processing jobs can be created without specifying any sweeps. Useful for EM data collections. ispyb.sqlalchemy.enable_debug_logging()
will now log query times- When installed in a cctbx environment, force libtbx to generate dispatchers for
ispby.*
commands
- Fix bug preventing
ispyb.last_data_collections_on
from seeing new data collections in--follow
mode - Update SQLAlchemy ORM models for ispyb-database v1.20.0
- Adapt insert_motion_correction() to take parameters #147
- Fix issue with
ispyb.job
not starting
ispyb.open()
now supports reading the credentials file from the ISPYB_CREDENTIALS environment variable. The function'sconfiguration_file
parameter is now deprecated - positional arguments orcredentials
should be used instead.- A new
ispyb.job
command line tool allows the creation, viewing, and updating of processing jobs in ISPyB. - Silence SQLAlchemy relationship conflict warnings
ispyb.sqlalchemy.url()
is a function that generates the SQLAlchemy connection URL from the ISPyB configuration
ispyb.sqlalchemy.enable_debug_logging()
will log every SQL call before execution through the Python logging framework
- New
ispyb.sqlalchemy
module containing SQLAlchemy ORM models to interface with ISPyB - New
ispyb.last_data_collections_on
command-line interface to list the most recent data collections on the given beamlines - With the introduction of the SQLAlchemy models the existing
ispyb.model
has been deprecated and will not be developed further. - Refactored XRF mapping to work at scale #122
- Functions marked for deprecation in v5.0 have been removed
- Added support for Python 3.9
- Fix compatibility issue with newer versions of mysql-connector #116
- Final version to support Python 2.7 and 3.5 #118
- New method
insert_subsample_for_image_full_path
#114 (requires ispyb-database 1.17.2)
ispyb.model.sample_group
bug fix obtaining linked dcids
- New method
insert_phasing_analysis_results
#111 (requires ispyb-database 1.15.0)
- Add
ispyb.model.sample
#110
- Add
ispyb.model.detector.Detector
model #100
- Added method to retrieve container for a given sample ID #98
- Add object model for containers
- Object model for Screening tables #91 and ImageQualityIndicators #95
set_role
, new method to change the current role of the DB user. #94- New module for crystal imaging: xtalimaging #96
- Add method to close additional future connections #88
- mysql/mariadb IntegrityError is now translated to ISPyBException #97
- New methods:
upsert_program_message
upsert_sample_image_auto_score
Fix segmentation fault when enabling the SQL future methods.
Breaking change:
- Database connection package changed from mysql-connector to mysql-connector-python
New method:
retrieve_samples_not_loaded_for_container_reg_barcode
, #85
New methods:
Added more fields to the datacollection object model.
Breaking changes:
- configuration file section
ispyb_mysql_sp
renamed toispyb_mariadb_sp
- mxprocessing:
upsert_program
has been removed. Useupsert_program_ex
instead. - processing interface: removed
get_processing_job
Future breaking changes:
- Exception classes renamed and moved from
ispyb.exception
intoispyb
. Using previous exception classes will generate deprecation warnings.
New features:
- Authorisation built into the queries for relevant stored procedures
- New methods for:
- storing x-ray centring results
- retrieving persons on a session
- un-assigning all containers on a certain beamline
- New reconnection parameters in config file:
reconn_attempts
andreconn_delay
update_container_assign
now returns the containerId and the new containerStatus