forked from ComPlat/chemotion_ELN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Import export sample as chemical
* implementation for import chemicals to collection, added import_chemicals class and spec tests and refactored import_samples class to add import_type option to import samples * refactor construct_p_statements and construct_h_statements methods in chemical_service to solve duplication issue and refactored chemicals_service_spec tests accordingly * handle failing of import chemicals (sample will not be created, user will be notified which samples could not be imported, refactor import_chemicals and spec tests * allow import cas field on sample import for xlsx format * import chemicals: allow skipping import of chemical field if column header is null * refactor report_api code for exporting samples and chemicals * refactor code of export chemicals in report_helpers module into own class and improve export functionality of chemicals * write unit tests for ExportChemicals class * disable sdf format option for chemicals export and adjust exportModal height * refactor ExportImportButton component * refactor report_helpers module and import_samples_spec to fix failing spec in report_api_spec and import_samples_spec * allow import of decoupled samples * allow import & export of decoupled samples * allow SDS search for chemical when molecule does not exist (for decoupled samples) * allow import of merck safety sheets on import chemicals * allow import of float amount values for import chemicals * allow sample import with case insensitive values of decoupled column Refs: ComPlat#1524
- Loading branch information
1 parent
77a091b
commit c1b45ae
Showing
22 changed files
with
1,094 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.