Skip to content

Releases: precisiontox/ptox-metadata-manager

v0.1.1-beta

02 Apr 11:55
6fc159f
Compare
Choose a tag to compare

Fixes

Documentation

  • Fixed build on readthedocs

Beta test release 1

07 Feb 13:58
c4e0d76
Compare
Choose a tag to compare
  • added extra converter test for JSON round trip
  • fixed issue #134
  • fixed issue #133
  • fixed a bug where water was returned as a valid chemical
  • Added a new dose category: "Alternative" with mapping code "A" (thanks to @RJMW)
  • fixed #136
  • fixed #138

Alpha test release 4

05 Dec 14:08
fc0ddfe
Compare
Choose a tag to compare

What's Changed

  • Improved the documentation with a user guide.
  • Updated the README file with a better introduction and some images
  • Cleaned up the application constants.
  • Batch codes can only be used once per species. They are now validated at creation and shipping. There is a new feature to replace batch codes on the fly in existing files before shipping.
  • Importing from a personnal gdrive now copies the entire file insted of creating a simlink.
  • Added a strong password policy.

Bug fix:

  • fixed #67 #103 #117 #119 #120 #122 #123 and #127
  • Water Control now has identifer PTX000 instead of PTX997
  • Fixed a bug in the validation where controls would be validated against the number of replicates instead of the number of controls

New endpoints:

  • GET to /api/batch/<batch_code>/validate?species= to validate the batch code for the given organism
  • GET to /api/files/<file_id>/batch?batch=<batch_code> to update the current file with a new batch (keeps the data)

Alpha test release 3

03 Aug 13:45
fc7ef30
Compare
Choose a tag to compare

New validation for timepoints during creation of spreadsheets:

  • Can only contain unique values
  • Minimum value is now 1
  • Miminum number of values is now 1

File validation:

  • The endpoint now also returns the google drive identifier to be consumed by the client and create a link to the google doc on the validation report

Spreadsheet:

  • New fields order.
  • New field at position 2: compound_hash (eg: PTX001). Validated against the sample identifier.
  • All fields are now lowercase.

Alpha test release 2

02 Aug 14:06
75c275d
Compare
Choose a tag to compare

New Features:

Files:

Properties

  • start_date and end_date (of the collection steps): let the client sort using those data.
  • send and ship_date: let users track when a file is being shipped to the admins. This operation can only be done by an admin or the author of the file. The shipment date can not be set before the end date of the experiment. POST {"at": "2022-12-21"} to /api/files/:file_id/ship
  • received and receive_date: let users track when a file is being received by the admins. This operation can only be done by admins. The received date cannot happen before the end date or the ship date. POST {"at": "2022-12-21"} to /api/files/:file_id/receive

ISA

Files that are validated, sent and received can be converted to ISA JSON. Endpoint available with a GET request at /api/files/:file_id/isa

Visibility

Files are now visible by all members of an organisation. They can only be processed (delete and send) by their author.

Samples:

When receiving a file, the sample metadata are added to a new table and served through two endpoints:

  • /api/samples?page=1&per_page=10: will get paginated samples
  • api/samples/:SAMPLE_ID: will return metadata about the current sample

Users

Users can now reset their password:

  • /api/users/request_reset: POST a JSON with {"email": "email"} to receive a new token by email.
  • /api/users/reset/:reset_token: POST a JSON with {"password": "new_password"} to set the new password.

Admin can now:

  • set other users as admin: /api/users/:user_id/make_admin: not working on self.
  • ban other users: /api/users/:user_id/ban: not working on self
  • delete users: DELETE /api/users/:user_id: only admin or self.

Sessions:

There is a new endpoint to verify user tokens: /api/session with a JWT in headers (used by the client to autologout users)

Spreadsheets:

  • Controls are now grouped by timepoints instead of replicates
  • Timepoints can't go over the expected timeframe
  • Collection order is now validated: should be unique
  • the combo box_id + box_col + box_row is now validated: should be unique

Changes

Spreadsheets:

  • Headers were harmonized (underscores instead of white spaces)
  • "Label tube identifier" header was removed

Alpha test release 1

08 Jun 12:41
a2cc2f4
Compare
Choose a tag to compare

This is the pretox metadata manager very first relase. This alpha phase mainly aims at consortium members.