-
Notifications
You must be signed in to change notification settings - Fork 0
Tickets/sitcom 2114 #31
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
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -0,0 +1,373 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,373 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I ask you to reformat this part of the code? Maybe add spaces between logical blocks of code. For example, instead of:
lews_selected = [] hp_max_hist = np.array([]) hp_spread_max_hist = np.array([]) min_ele_range = -1 # minimum elevation change in slew, degrees min_azi_range = -1 # minimum azimuth change in slew, degrees hp_threshold = OPERATIONAL_LIMIT velocity_threshold = 0.5 # deg/s df_state = getEfdData( client, "lsst.sal.MTM1M3.logevent_detailedState", begin=Time(slews[0].begin, format="isot", scale="utc"), end=Time(slews[-1].end, format="isot", scale="utc"), )
Add a space to separate the variable definition from the query that is a multi-line code. Something like this:
lews_selected = [] hp_max_hist = np.array([]) hp_spread_max_hist = np.array([]) min_ele_range = -1 # minimum elevation change in slew, degrees min_azi_range = -1 # minimum azimuth change in slew, degrees hp_threshold = OPERATIONAL_LIMIT velocity_threshold = 0.5 # deg/s df_state = getEfdData( client, "lsst.sal.MTM1M3.logevent_detailedState", begin=Time(slews[0].begin, format="isot", scale="utc"), end=Time(slews[-1].end, format="isot", scale="utc"), )
But apply this to the whole cell. Otherwise, it is hard to read.
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, pushed again!
The notebook execution is failing. You can find it by clicking on the "Notebook Execution" above and then clicking on your notebook. Here is a shortcut with the traceback: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is working good! Thank you very much!
No description provided.