Skip to content

Commit

Permalink
updated the github action to upload test data
Browse files Browse the repository at this point in the history
  • Loading branch information
rmassei committed Feb 12, 2025
1 parent 707eca8 commit 2d7c9e6
Show file tree
Hide file tree
Showing 15 changed files with 87,429 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/dummy-lamda/test_data/calibration_method.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- SPDX-FileCopyrightText: 2024 Helmholtz Centre for Environmental Research GmbH - UFZ
--
-- SPDX-License-Identifier: LicenseRef-UFZ-GPL-3.0-or-later

--
-- Data for Name: calibration_method; Type: TABLE DATA; Schema: public; Owner: lmdb_adm
--

INSERT INTO public.calibration_method (calibration_method_id, calibration_list, calibration_type, calibration_parameters, ppm_window, sn_threshold, outlier_k_factor, electron_config, added_at, added_by) VALUES (1, 150, 'linear', '{"1": 0.0, "0": 0}', NULL, NULL, NULL, 'even', '2023-12-11 07:51:01.671456+00', 2);
INSERT INTO public.calibration_method (calibration_method_id, calibration_list, calibration_type, calibration_parameters, ppm_window, sn_threshold, outlier_k_factor, electron_config, added_at, added_by) VALUES (2, 83, 'linear', '{"1":-0.0002479111998195181,"0":0.0858639776816672}', 0.50, 8.00, 1.50, 'even', '2024-03-19 09:14:35.91371+00', 2);

--
-- Name: calibration_method_calibration_method_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lmdb_adm
--

SELECT pg_catalog.setval('public.calibration_method_calibration_method_id_seq', 2, true);
19,171 changes: 19,171 additions & 0 deletions .github/dummy-lamda/test_data/chemical_formula_assignment.sql

Large diffs are not rendered by default.

19,165 changes: 19,165 additions & 0 deletions .github/dummy-lamda/test_data/eval_config_cfa.sql

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions .github/dummy-lamda/test_data/instrument.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- SPDX-FileCopyrightText: 2024 Helmholtz Centre for Environmental Research GmbH - UFZ
--
-- SPDX-License-Identifier: LicenseRef-UFZ-GPL-3.0-or-later

--
-- Data for Name: instrument; Type: TABLE DATA; Schema: public; Owner: lmdb_adm
--

INSERT INTO public.instrument (instrument_id, name, serial_number, location, institute, contact_mail, type, model, manufacturer, parameters) VALUES (1, 'solariX-12T-2XR', '1272500-00128', 'Leipzig', 'Department of Analytical Chemistry', '[email protected]', 'ICR', 'solariX', 'Bruker', '{ "field_strength": "12T", "icr_cell": "2XR"}');
INSERT INTO public.instrument (instrument_id, name, serial_number, location, institute, contact_mail, type, model, manufacturer, parameters) VALUES (2, 'scimaX-7T-2XR', '1859310-00244', 'Leipzig', 'Department of Analytical Chemistry', '[email protected]', 'ICR', 'scimaX', 'Bruker', '{ "field_strength": "7T", "icr_cell": "2XR"}');

--
-- Name: instrument_instrument_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lmdb_adm
--

SELECT pg_catalog.setval('public.instrument_instrument_id_seq', 2, true);
18 changes: 18 additions & 0 deletions .github/dummy-lamda/test_data/location.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- SPDX-FileCopyrightText: 2024 Helmholtz Centre for Environmental Research GmbH - UFZ
--
-- SPDX-License-Identifier: LicenseRef-UFZ-GPL-3.0-or-later

--
-- Data for Name: location; Type: TABLE DATA; Schema: public; Owner: lmdb_adm
--

INSERT INTO public.location (location_id, height, latitude, longitude, country, state, zipcode, site_description) VALUES (1, 12.000000, 51.340199, 12.360103, 'Germany', 'Sachsen', '04318', 'Leipzig');
INSERT INTO public.location (location_id, height, latitude, longitude, country, state, zipcode, site_description) VALUES (2, NULL, 51.867139, 10.870583, 'Germany', 'Sachsen-Anhalt', '38855', 'Holtemme, downstream of WWTP Silstedt');
INSERT INTO public.location (location_id, height, latitude, longitude, country, state, zipcode, site_description) VALUES (3, NULL, 29.288333, -83.165833, 'USA', 'Florida', '4131', 'Dummy Site Description for SRFA');
INSERT INTO public.location (location_id, height, latitude, longitude, country, state, zipcode, site_description) VALUES (5, NULL, 29.288333, -83.165833, 'USA', 'Florida', '4131', 'Test Site Description');

--
-- Name: location_location_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lmdb_adm
--

SELECT pg_catalog.setval('public.location_location_id_seq', 5, true);
17 changes: 17 additions & 0 deletions .github/dummy-lamda/test_data/measurement.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-- SPDX-FileCopyrightText: 2024 Helmholtz Centre for Environmental Research GmbH - UFZ
--
-- SPDX-License-Identifier: LicenseRef-UFZ-GPL-3.0-or-later

--
-- Data for Name: measurement; Type: TABLE DATA; Schema: public; Owner: lmdb_adm
--

INSERT INTO public.measurement (measurement_id, spectrum_name, spectrum_file_name, measurement_date, measurement_method, analysis_date, analysis_method, measurement_comment, scan_number, calibration_error, calibration_points, calibration_min_mass, calibration_max_mass, peak_picking_algorithm, peak_picking_snthreshold, peak_picking_intthreshold, ionisation, max_intensity, user_peak_intensity, msms_stage, msms_mode, scan_mode, instrument_config, lc_rt, lc_spectrum_number_start, lc_spectrum_number_end, fraction_number, data_size, syringe_flow_rate, capillary_voltage, ion_accumulation_time, q1_resolution, q1_cid, q1_mass, q1_cid_energy, q1_isolate, in_source_collision_energy, in_source_cid, number_of_laser_shots, laser_power, laser_spot_size, apci_temp, nebulizer_gas_flow_rate, drying_gas_temperature, drying_gas_flow_rate, maldi_isd, broadband_low_mass, broadband_high_mass, lock_masses, processing_mode, sample, replicate_of_measurement, added_at, added_by, dilution_factor, instrument, calibration_method) VALUES (1, '1_SRFA_measurement_1', 'SRFA_STD_10ppm_ESI_neg_20220927_000001', '2022-09-27 09:07:08+00', 'ESI_4M_SRFA_1W_150-1000', '2022-11-15 09:55:04+00', 'ESI_4M_SRFA_1W_150-1000', NULL, 256, NULL, NULL, NULL, NULL, 'MRMS', 4.00, 0.000, -1, 122435416, 122435416, 0, 'All MS', 'FS', 'ESI', 7.74, 1, NULL, NULL, '4MW', 240, 3900, 0.0500, 0.0, 'off', 150.00000000, 5.0, 'off', 70.0, 'off', NULL, 24.00, NULL, 10.0, 1.0, 200.0, 4.0, 'off', 147.4, 1000.0, '295.11871 - 295.11871; 1', 'Magnitude', 1, 1, '2024-03-19 09:06:09.352256+00', 2, 12.0, 1, NULL);
INSERT INTO public.measurement (measurement_id, spectrum_name, spectrum_file_name, measurement_date, measurement_method, analysis_date, analysis_method, measurement_comment, scan_number, calibration_error, calibration_points, calibration_min_mass, calibration_max_mass, peak_picking_algorithm, peak_picking_snthreshold, peak_picking_intthreshold, ionisation, max_intensity, user_peak_intensity, msms_stage, msms_mode, scan_mode, instrument_config, lc_rt, lc_spectrum_number_start, lc_spectrum_number_end, fraction_number, data_size, syringe_flow_rate, capillary_voltage, ion_accumulation_time, q1_resolution, q1_cid, q1_mass, q1_cid_energy, q1_isolate, in_source_collision_energy, in_source_cid, number_of_laser_shots, laser_power, laser_spot_size, apci_temp, nebulizer_gas_flow_rate, drying_gas_temperature, drying_gas_flow_rate, maldi_isd, broadband_low_mass, broadband_high_mass, lock_masses, processing_mode, sample, replicate_of_measurement, added_at, added_by, dilution_factor, instrument, calibration_method) VALUES (2, '1_SRFA_measurement_2', 'SRFA_STD_10ppm_ESI_neg_20221028_000001', '2022-10-28 08:41:38+00', 'ESI_4M_SRFA_1W_150-1000', '2022-11-15 09:54:44+00', 'ESI_4M_SRFA_1W_150-1000', NULL, 256, 0.065, 245, 152.04734412, 660.16903494, 'MRMS', 4.00, 0.000, -1, 201314560, 201314560, 0, 'All MS', 'FS', 'ESI', 7.74, 1, NULL, NULL, '4MW', 240, 3900, 0.0500, 0.0, 'off', 150.00000000, 5.0, 'off', 70.0, 'off', NULL, 24.00, NULL, 10.0, 1.0, 200.0, 4.0, 'off', 147.4, 1000.0, '295.11871 - 295.11871; 1', 'Magnitude', 2, 2, '2024-03-19 09:06:10.769416+00', 2, 4.0, 1, 2);
INSERT INTO public.measurement (measurement_id, spectrum_name, spectrum_file_name, measurement_date, measurement_method, analysis_date, analysis_method, measurement_comment, scan_number, calibration_error, calibration_points, calibration_min_mass, calibration_max_mass, peak_picking_algorithm, peak_picking_snthreshold, peak_picking_intthreshold, ionisation, max_intensity, user_peak_intensity, msms_stage, msms_mode, scan_mode, instrument_config, lc_rt, lc_spectrum_number_start, lc_spectrum_number_end, fraction_number, data_size, syringe_flow_rate, capillary_voltage, ion_accumulation_time, q1_resolution, q1_cid, q1_mass, q1_cid_energy, q1_isolate, in_source_collision_energy, in_source_cid, number_of_laser_shots, laser_power, laser_spot_size, apci_temp, nebulizer_gas_flow_rate, drying_gas_temperature, drying_gas_flow_rate, maldi_isd, broadband_low_mass, broadband_high_mass, lock_masses, processing_mode, sample, replicate_of_measurement, added_at, added_by, dilution_factor, instrument, calibration_method) VALUES (3, '1_SRFA_measurement_3', 'SRFA_STD_10ppm_ESI_neg_20221102_000001', '2022-11-02 12:11:17+00', 'ESI_4M_SRFA_1W_150-1000', '2022-11-15 09:54:53+00', 'ESI_4M_SRFA_1W_150-1000', NULL, 256, NULL, NULL, NULL, NULL, 'MRMS', 4.00, 0.000, -1, 137299920, 137299920, 0, 'All MS', 'FS', 'ESI', 7.74, 1, NULL, NULL, '4MW', 240, 3900, 0.0300, 0.0, 'off', 150.00000000, 5.0, 'off', 70.0, 'off', NULL, 24.00, NULL, 10.0, 1.0, 200.0, 4.0, 'off', 147.4, 1000.0, '295.11871 - 295.11871; 1', 'Magnitude', 2, 2, '2024-03-19 09:06:11.982939+00', 2, 1.0, 1, 1);

--
-- Name: measurement_measurement_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lmdb_adm
--

SELECT pg_catalog.setval('public.measurement_measurement_id_seq', 3, true);
9 changes: 9 additions & 0 deletions .github/dummy-lamda/test_data/measurement_cformula_config.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- SPDX-FileCopyrightText: 2024 Helmholtz Centre for Environmental Research GmbH - UFZ
--
-- SPDX-License-Identifier: LicenseRef-UFZ-GPL-3.0-or-later

--
-- Data for Name: measurement_cformula_config; Type: TABLE DATA; Schema: public; Owner: lmdb_adm
--

INSERT INTO public.measurement_cformula_config (measurement_id, chemical_formula_config_id, number_of_assignments, execution_time) VALUES (3, 130, 19157, '00:00:14');
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- SPDX-FileCopyrightText: 2024 Helmholtz Centre for Environmental Research GmbH - UFZ
--
-- SPDX-License-Identifier: LicenseRef-UFZ-GPL-3.0-or-later

--
-- Data for Name: measurement_evaluation_config; Type: TABLE DATA; Schema: public; Owner: lmdb_adm
--

INSERT INTO public.measurement_evaluation_config (measurement_id, chemical_formula_config_id, evaluation_config_id, execution_time) VALUES (3, 130, 91, '00:00:09');
Loading

0 comments on commit 2d7c9e6

Please sign in to comment.