-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: Single test refactor #28
Closed
Closed
Conversation
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
commit 4eb642d Merge: 83a23c5 f2a6f35 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 20 10:23:08 2023 -0500 Merge branch 'main' into single_test commit 83a23c5 Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 8 16:42:45 2023 -0500 trying to add my l0 binary commit a173f53 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 11:36:32 2023 -0500 responded to all of ehsteve comments I hope commit 588d244 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:45:15 2023 -0500 removing µEpoch commit 414694b Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:41:08 2023 -0500 moving flight_stepper table commit 1c143cf Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:37:30 2023 -0500 removing filenames from test_calibration commit 5a9ab4c Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:34:32 2023 -0500 removing skeletons commit 044daa3 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:29:12 2023 -0500 Single Test for one file test_calibration.py changed name of stats var removing unsusable bin file commit a61435f Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:04:37 2023 -0500 removed extraneous tests commit 5880661 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 09:59:27 2023 -0500 Don't need to do create my own cdf with HermesData() commit 011ab4b Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 09:47:08 2023 -0500 doctest_plus = "enabled" text_file_format = "rst" addopts = "--doctest-rst" is preventing me from running pytest commit 0a8aee2 Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 11:11:41 2023 -0500 finally realized calibrate_file is a single file process_file is a list of files commit 4fb394d Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 14:16:09 2023 +0000 sys.path, pyproject astropy dependency problem commit 6f1e2db Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 08:42:46 2023 -0500 zipping large bin commit 13c70cb Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 08:40:11 2023 -0500 settling on one large file and one small file test commit efdb56e Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 14:02:20 2023 -0500 fighting with cicd commit fe66279 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:58:46 2023 -0500 loosening for astropy wasn't good enough, removing numpy also commit 86cbe8a Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:55:32 2023 -0500 loosening dependencies in pyproject.toml adding cdflib commit 10e6ae6 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:52:19 2023 -0500 moved pyproject.toml commit fdcc6d4 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:44:40 2023 -0500 ci/cd, testing.yml needs me to have a pyproject.toml It seems like one was created when I ran the devcontainer on hermes_eea commit fb6d803 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:06:30 2023 -0500 updating .github/testing.yml for exploratory reasons correcting Liams time function a couple of comments commit f318497 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 15:37:59 2023 -0500 test_calibration.py passes w/o failure commit 784d0b1 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 11:19:54 2023 -0500 This successfully wrote 1 ts and 3 spectra 1d (to separate recs) 2d (EnergyLabels) 3d (ACCUM) commit 1b30582 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 10:48:20 2023 -0500 This is first branch using hermes_eea_data = HermesData(timeseries=ts_1d_uQ, spectra=spectra_EnergyLabels, meta=bare_attrs) It worked for energy labels commit 7d2f470 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 09:17:45 2023 -0500 changed units u. to astropy_units commit 87887f3 Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 15:55:54 2023 -0500 This has new Epoch_TAI time. new bin l0 file from Liam outputs 1d sep-rec with u.Quantity outputs my data all-in-one-rec commit 53ee35e Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 13:45:30 2023 -0500 this produces separate record data for 1D data commit 4087636 Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 13:28:24 2023 -0500 with barebones attrs this indeed does : this write separate records with their code and single records with mine commit cb2a7f3 Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 13:20:48 2023 -0500 this write separate records with their code and single records with mine commit f0f1aff Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 10:57:12 2023 -0500 This creates a cdf file using HermesData commit 638e6fd Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 09:37:39 2023 -0500 updated SkymapFactory with np.uint16 starting to work with HermesData in conda env add_eea commit b67744e Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Nov 27 15:56:24 2023 -0500 This does everything but write to cdf. I think I am supposed to use HermesData container commit e7b0ba1 Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Nov 27 13:45:44 2023 -0500 These are the changes I made to create a l0 file... a cdf file with the raw data commit 6ad4e19 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 15 15:36:45 2023 -0500 Add L0 to L1A code commit b8230d4 Merge: 7bd3a1a d1b3f9a Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 14 16:11:35 2023 -0500 Merge pull request HERMES-SOC#1 from liamgreenlee/skeleton1 Skeleton1 commit d1b3f9a Author: S Kreisler <Stephen.Kreisler@nasa.gov> Date: Tue Feb 14 15:35:43 2023 -0500 Fixed data type inconsistencies. commit b9b61a8 Author: S Kreisler <Stephen.Kreisler@nasa.gov> Date: Tue Feb 14 14:22:08 2023 -0500 Initial EEA L1 master skeleton commit 7bd3a1a Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 8 10:48:32 2023 -0500 Fix formatting commit b45aa5d Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 8 10:41:14 2023 -0500 Fix pytests commit 7960dfe Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 14:54:01 2023 -0500 black format fix commit d40c478 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 14:49:13 2023 -0500 Add l0 parsing commit 8a0f31c Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 13:53:41 2023 -0500 Add sci packet def commit 63d70cb Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 13:04:17 2023 -0500 Add example l0 binary for testing commit 338ece0 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 1 11:31:35 2023 -0500 Remove unbinning to use ccsdspy array type instead commit 89de354 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 1 11:17:10 2023 -0500 Reformatting with black commit 29f1d5a Merge: 04cb3ff c121c02 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 1 11:11:54 2023 -0500 Merge branch 'main' of https://github.com/HERMES-SOC/hermes_eea commit 04cb3ff Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Thu Dec 15 10:57:18 2022 -0500 Add accum packet unbinning functions
Added Ignores for E203 in the |
My bad I accidentally opened this from Draft |
Alrobbertz
commented
Jan 2, 2024
commit ad7a072 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Jan 10 14:52:50 2024 -0500 added TAI time comment commit f3c5cdb Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Jan 8 18:12:51 2024 -0500 reconciling test_file_tools.py commit 4aa809f Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Jan 8 17:29:05 2024 -0500 addressing the issue of not being inside of hermes core commit 29ce88e Merge: f8718f3 d1cc226 Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Jan 8 16:57:57 2024 -0500 Merge remote-tracking branch 'upstream/main' into single_test commit f8718f3 Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Jan 8 16:36:53 2024 -0500 reasonably interesting change commit 05a6733 Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Jan 8 15:20:34 2024 -0500 ignoring skeleton test commit 4eb642d Merge: 83a23c5 f2a6f35 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 20 10:23:08 2023 -0500 Merge branch 'main' into single_test commit 83a23c5 Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 8 16:42:45 2023 -0500 trying to add my l0 binary commit a173f53 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 11:36:32 2023 -0500 responded to all of ehsteve comments I hope commit 588d244 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:45:15 2023 -0500 removing µEpoch commit 414694b Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:41:08 2023 -0500 moving flight_stepper table commit 1c143cf Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:37:30 2023 -0500 removing filenames from test_calibration commit 5a9ab4c Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:34:32 2023 -0500 removing skeletons commit 044daa3 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:29:12 2023 -0500 Single Test for one file test_calibration.py changed name of stats var removing unsusable bin file commit a61435f Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 10:04:37 2023 -0500 removed extraneous tests commit 5880661 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 09:59:27 2023 -0500 Don't need to do create my own cdf with HermesData() commit 011ab4b Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Dec 6 09:47:08 2023 -0500 doctest_plus = "enabled" text_file_format = "rst" addopts = "--doctest-rst" is preventing me from running pytest commit 0a8aee2 Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 11:11:41 2023 -0500 finally realized calibrate_file is a single file process_file is a list of files commit 4fb394d Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 14:16:09 2023 +0000 sys.path, pyproject astropy dependency problem commit 6f1e2db Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 08:42:46 2023 -0500 zipping large bin commit 13c70cb Author: rstrub <richard.f.strub@nasa.gov> Date: Fri Dec 1 08:40:11 2023 -0500 settling on one large file and one small file test commit efdb56e Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 14:02:20 2023 -0500 fighting with cicd commit fe66279 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:58:46 2023 -0500 loosening for astropy wasn't good enough, removing numpy also commit 86cbe8a Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:55:32 2023 -0500 loosening dependencies in pyproject.toml adding cdflib commit 10e6ae6 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:52:19 2023 -0500 moved pyproject.toml commit fdcc6d4 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:44:40 2023 -0500 ci/cd, testing.yml needs me to have a pyproject.toml It seems like one was created when I ran the devcontainer on hermes_eea commit fb6d803 Author: rstrub <richard.f.strub@nasa.gov> Date: Thu Nov 30 13:06:30 2023 -0500 updating .github/testing.yml for exploratory reasons correcting Liams time function a couple of comments commit f318497 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 15:37:59 2023 -0500 test_calibration.py passes w/o failure commit 784d0b1 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 11:19:54 2023 -0500 This successfully wrote 1 ts and 3 spectra 1d (to separate recs) 2d (EnergyLabels) 3d (ACCUM) commit 1b30582 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 10:48:20 2023 -0500 This is first branch using hermes_eea_data = HermesData(timeseries=ts_1d_uQ, spectra=spectra_EnergyLabels, meta=bare_attrs) It worked for energy labels commit 7d2f470 Author: rstrub <richard.f.strub@nasa.gov> Date: Wed Nov 29 09:17:45 2023 -0500 changed units u. to astropy_units commit 87887f3 Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 15:55:54 2023 -0500 This has new Epoch_TAI time. new bin l0 file from Liam outputs 1d sep-rec with u.Quantity outputs my data all-in-one-rec commit 53ee35e Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 13:45:30 2023 -0500 this produces separate record data for 1D data commit 4087636 Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 13:28:24 2023 -0500 with barebones attrs this indeed does : this write separate records with their code and single records with mine commit cb2a7f3 Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 13:20:48 2023 -0500 this write separate records with their code and single records with mine commit f0f1aff Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 10:57:12 2023 -0500 This creates a cdf file using HermesData commit 638e6fd Author: rstrub <richard.f.strub@nasa.gov> Date: Tue Nov 28 09:37:39 2023 -0500 updated SkymapFactory with np.uint16 starting to work with HermesData in conda env add_eea commit b67744e Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Nov 27 15:56:24 2023 -0500 This does everything but write to cdf. I think I am supposed to use HermesData container commit e7b0ba1 Author: rstrub <richard.f.strub@nasa.gov> Date: Mon Nov 27 13:45:44 2023 -0500 These are the changes I made to create a l0 file... a cdf file with the raw data commit 6ad4e19 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 15 15:36:45 2023 -0500 Add L0 to L1A code commit b8230d4 Merge: 7bd3a1a d1b3f9a Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 14 16:11:35 2023 -0500 Merge pull request HERMES-SOC#1 from liamgreenlee/skeleton1 Skeleton1 commit d1b3f9a Author: S Kreisler <Stephen.Kreisler@nasa.gov> Date: Tue Feb 14 15:35:43 2023 -0500 Fixed data type inconsistencies. commit b9b61a8 Author: S Kreisler <Stephen.Kreisler@nasa.gov> Date: Tue Feb 14 14:22:08 2023 -0500 Initial EEA L1 master skeleton commit 7bd3a1a Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 8 10:48:32 2023 -0500 Fix formatting commit b45aa5d Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 8 10:41:14 2023 -0500 Fix pytests commit 7960dfe Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 14:54:01 2023 -0500 black format fix commit d40c478 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 14:49:13 2023 -0500 Add l0 parsing commit 8a0f31c Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 13:53:41 2023 -0500 Add sci packet def commit 63d70cb Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Tue Feb 7 13:04:17 2023 -0500 Add example l0 binary for testing commit 338ece0 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 1 11:31:35 2023 -0500 Remove unbinning to use ccsdspy array type instead commit 89de354 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 1 11:17:10 2023 -0500 Reformatting with black commit 29f1d5a Merge: 04cb3ff c121c02 Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Wed Feb 1 11:11:54 2023 -0500 Merge branch 'main' of https://github.com/HERMES-SOC/hermes_eea commit 04cb3ff Author: Liam Greenlee <liam.a.greenlee@nasa.gov> Date: Thu Dec 15 10:57:18 2022 -0500 Add accum packet unbinning functions
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
===========================================
- Coverage 91.07% 75.81% -15.26%
===========================================
Files 4 8 +4
Lines 56 277 +221
===========================================
+ Hits 51 210 +159
- Misses 5 67 +62 ☔ View full report in Codecov by Sentry. |
This should be closed right @Alrobbertz? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.