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

Tidy up I24 serial code #16

Merged
merged 48 commits into from
Jun 21, 2023
Merged

Tidy up I24 serial code #16

merged 48 commits into from
Jun 21, 2023

Conversation

noemifrisina
Copy link
Contributor

@noemifrisina noemifrisina commented May 31, 2023

  • Remove unused code from setup_beamline
    (small note: modechange seems to be the change between goniometers. As I understand it, it's supposed to control a touch screen in the hutch that is currently broken. Keeping it in for the moment as beamline staff wants to get it working again. )
  • Remove any legacy code that is not used anymore
  • Remove unused edms/pvar files for unused chips
  • General tidying up - remove/fix paths to avoid breaking things on the beamline
  • Add script to set visit directory from the command line
  • Add a couple more tests where possible

Closes #13
Closes #14 (...hopefully)

@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Merging #16 (586ed84) into main (a7d496d) will increase coverage by 9.75%.
The diff coverage is 29.16%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   29.21%   38.96%   +9.75%     
==========================================
  Files          16       18       +2     
  Lines        3957     3585     -372     
==========================================
+ Hits         1156     1397     +241     
+ Misses       2801     2188     -613     
Impacted Files Coverage Δ
...4/serial/fixed_target/i24ssx_Chip_Mapping_py3v1.py 12.59% <7.04%> (+5.90%) ⬆️
...4/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py 9.46% <11.68%> (+5.79%) ⬆️
...4/serial/fixed_target/i24ssx_Chip_StartUp_py3v1.py 35.10% <21.42%> (+13.30%) ⬆️
...4/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py 29.96% <28.67%> (+16.77%) ⬆️
...4/serial/extruder/i24ssx_Extruder_Collect_py3v2.py 73.83% <68.81%> (+2.44%) ⬆️
src/mx_bluesky/I24/serial/log.py 96.00% <96.00%> (ø)
src/mx_bluesky/I24/serial/parameters/constants.py 100.00% <100.00%> (ø)
...luesky/I24/serial/setup_beamline/setup_beamline.py 37.11% <100.00%> (+11.80%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@noemifrisina noemifrisina marked this pull request as ready for review June 16, 2023 13:42
Copy link
Contributor

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

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

Great, good to see a bit more tidying, thanks! Minor comments in code, otherwise good

Copy link
Contributor

@Tom-Willemsen Tom-Willemsen left a comment

Choose a reason for hiding this comment

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

I'm assuming you've run this on the beamline to check the validity of the functional changes? Or is that scheduled for a later time?

@noemifrisina
Copy link
Contributor Author

I'm assuming you've run this on the beamline to check the validity of the functional changes? Or is that scheduled for a later time?

It's scheduled for later, once the tidying up is completed and we have a way to deploy it (but before adding any bluesky to it). Since it needs a lot of changes, tidying up/ removing things has been split up in multiple PRs to avoid having a massive one.

@Tom-Willemsen Tom-Willemsen merged commit 5233f07 into main Jun 21, 2023
16 of 17 checks passed
@Tom-Willemsen Tom-Willemsen deleted the 14_tidy-up-i24-ssx branch June 21, 2023 15:11
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.

I24 SSX : tidy up and update code I24 SSX: Remove unused code
3 participants