Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

688 849 rename to hyperion#864

Merged
d-perl merged 15 commits into
mainfrom
688_849_rename_to_hyperion
Aug 22, 2023
Merged

688 849 rename to hyperion#864
d-perl merged 15 commits into
mainfrom
688_849_rename_to_hyperion

Conversation

@d-perl

@d-perl d-perl commented Aug 21, 2023

Copy link
Copy Markdown
Contributor

Fixes #688 and fixes #849

Renames lots of stuff

@codecov

codecov Bot commented Aug 21, 2023

Copy link
Copy Markdown

Codecov Report

Merging #864 (d5a56d5) into main (bdb5a97) will increase coverage by 0.04%.
The diff coverage is 95.25%.

@@            Coverage Diff             @@
##             main     #864      +/-   ##
==========================================
+ Coverage   92.82%   92.86%   +0.04%     
==========================================
  Files          49       49              
  Lines        2397     2398       +1     
==========================================
+ Hits         2225     2227       +2     
+ Misses        172      171       -1     
Files Changed Coverage Δ
src/hyperion/device_setup_plans/utils.py 100.00% <ø> (ø)
src/hyperion/exceptions.py 100.00% <ø> (ø)
...ion/callbacks/abstract_plan_callback_collection.py 92.30% <ø> (ø)
...nal_interaction/callbacks/oav_snapshot_callback.py 100.00% <ø> (ø)
...rion/external_interaction/ispyb/ispyb_dataclass.py 100.00% <ø> (ø)
src/hyperion/parameters/beamline_prefixes.py 0.00% <0.00%> (ø)
src/hyperion/snapshot_plan.py 0.00% <ø> (ø)
...yperion/experiment_plans/stepped_grid_scan_plan.py 68.85% <72.72%> (ø)
src/hyperion/__main__.py 90.55% <77.77%> (ø)
.../external_interaction/zocalo/zocalo_interaction.py 97.14% <85.71%> (ø)
... and 39 more

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

@d-perl

d-perl commented Aug 21, 2023

Copy link
Copy Markdown
Contributor Author

@DominicOram DominicOram left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, I caught a few bits but I wouldn't be surprised if we're shaking this out for weeks. There's a few artemis references in comments in dodal, can we change those too?

Comment thread run_hyperion.sh
fi

pkill -f "python -m artemis"
pkill -f "python -m hyperion"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nit: This is going to suprise us when the old one doesn't die when do the swicth. I suggest leaving in both kills for now, we can remove the Artemis one another day

"callback_collection_type": FGSCallbackCollection,
"callback_collection_type": XrayCentreCallbackCollection,
},
"full_grid_scan": {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Must: Did you miss this one?

)

patch = functools.partial(unittest.mock.patch, autospec=True)
DONE_STATUS = Status(done=True, success=True)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should: This isn't used?


class ZocaloInteractor:
def __init__(self, environment: str = "artemis"):
def __init__(self, environment: str = "hyperion"):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Must: Changing this will require changes in zocalo, can you not change it and make an issue

Comment thread graylog/tcp_input.json
"id": "c7c601fc-5090-4a0c-a4f3-e757968eeca2",
"rev": 1,
"v": "1",
"name": "Artemis TCP Input",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should: Whilst I don't think this breaks anything I think we should keep the same for now and change it all together in #801

Comment thread setup.cfg Outdated
[metadata]
name = python-artemis
name = hyperion
description = 3D gridscans using BlueSky and Ophyd

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should: Can you change this description too? On the repo I used Unattended Data Collection using BlueSky / Ophyd

@DominicOram DominicOram left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's go for it!

@d-perl
d-perl merged commit 8fc48de into main Aug 22, 2023
@d-perl
d-perl deleted the 688_849_rename_to_hyperion branch August 22, 2023 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Renaming day Rename to Hyperion

2 participants