Princeton-LSI-ResearchComputing / tracebase

Mouse Metabolite Tracing Data Repository for the Rabinowitz Lab
MIT License
4 stars 1 forks source link

Add support for version 2 of the study doc #1047

Closed hepcat72 closed 1 month ago

hepcat72 commented 1 month ago

FEATURE REQUEST

Inspiration

The implementation of version 3 of the study doc was not backwards compatible. If a user submits an old animal/sample sheet, it will fail validation and will not load.

Description

Make StudyLoader inherit from ConvertedTableLoader and write derived classes for versions 2 and 3 (converting to version 3). Also update the DataValidationView code to accept version 2.

Alternatives

None

Dependencies

This issue cannot be started until the completion of the following issue(s)/ pull request(s):

Comment

None


ISSUE OWNER SECTION

Assumptions

  1. List of assumptions that the code will not explicitly address/check
  2. E.g. We will assume input is correct (explaining why there is no validation)

Limitations

  1. A list of things this work will specifically not do
  2. E.g. This feature will only handle the most frequent use case X

Affected Components

Requirements

DESIGN

Interface Change description

None provided

Code Change Description

None provided

Tests

hepcat72 commented 1 month ago

Dupe of #1032

hepcat72 commented 1 month ago

Closing duplicate