Skip to content
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

Fix duplicated hk time bin bug #379

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

samaloney
Copy link
Collaborator

No description provided.

@@ -446,6 +452,15 @@ def to_datetime(self):
except TypeError:
utc = Spice.instance.scet_to_datetime(self.to_string())

kernel_name = Spice.instance.meta_kernel_path[1].name.split('_')[4]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really shouldn't use any time conversations in the future compared to the meta kernel date as they are subject to change especially for science data!

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (e539c8b) 76.80% compared to head (9562d95) 77.08%.

Files Patch % Lines
stixcore/time/datetime.py 81.25% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
+ Coverage   76.80%   77.08%   +0.27%     
==========================================
  Files          66       66              
  Lines        6912     6907       -5     
==========================================
+ Hits         5309     5324      +15     
+ Misses       1603     1583      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samaloney samaloney marked this pull request as ready for review January 30, 2024 14:38
Copy link
Collaborator

@nicHoch nicHoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also end2end looks good minor timing diffs in the right packages

good to go

stixcore/products/product.py Show resolved Hide resolved
stixcore/products/product.py Show resolved Hide resolved
@samaloney samaloney merged commit d59afa1 into i4Ds:master Feb 2, 2024
2 of 3 checks passed
@samaloney samaloney deleted the bugfix-hk-times branch February 2, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants