Releases: EdinburghGenomics/EGCG-Core
v0.6.5
v0.6.4
- executors now retry their job submissions upon failure, up to three times
- some log messages from notifications have been reduced to debug
clarity.get_sample_gender
now checks for a 'Sex' UDF before checking 'Gender'- in
rest_communication
, the building of requests has been fixed, as below:
In Communicator.get_content, we used to build a url manually via api_url
and pass it to _req
. This was because we had to cast dicts to strings manually:
where = {'this': 'that', 'other': None}
cast_where = '{"this":"that","other":null}'
However, the removal of spaces that this involved meant that any query for a field containing a space resulted in a bad query:
where = {'field_name': 'with spaces'}
cast_where = '{"field_name":"withspaces"}'
To fix this, we now pass the query string through params, and do Json serialisation on any dict params:
params = {'page': 1, where: {'this': 'that', 'other': None}}
query_string = '?page=1&where={"this": "that", "other": null}'
v0.6.2
v0.6.1
Improve util and error handling
Add function to retrieve project from LIMS API
v0.6
This version adds the ability to cancel currently running cluster jobs in executor
. Also fixes a bug in util.move_dir
.
v0.5.1
v0.5
Executors have been fixed to process the output of sacct properly. Script writers have also been refactored/simplified.
v0.4.3
v0.4.1
This version fixes a bug in EnvConfiguration
, where it wasn't selecting a new environment properly. Two fields have also been added to constants
for upcoming versions of Analysis-Driver and Reporting-App.
v0.4
Bugs have been fixed in clarity
, ncbi
and rest_communication
. There is also now a more flexible, object oriented rest_communication
, where a Communicator
object can be created with a base url and username-password or token authentication.