Skip to content

[Harvester] Send data collection info to CRIMS after successful DC#1632

Merged
marcus-oscarsson merged 1 commit into
developfrom
jb_crims_dc
Jul 15, 2026
Merged

[Harvester] Send data collection info to CRIMS after successful DC#1632
marcus-oscarsson merged 1 commit into
developfrom
jb_crims_dc

Conversation

@jbflo

@jbflo jbflo commented Jul 1, 2026

Copy link
Copy Markdown
Member
  • Crims.send_data_collection_info_to_crims rewritten to match the
    New CRIMS endpoint.

  • Harvester and HarvesterMockup both read crims_upload_url /
    crims_upload_key from config (full endpoint URL, no default)

  • (existing deployments unaffected).

Coupled PR

Requires mxcubeweb PR link which wires the signal handler that calls this
function after a successful data collection.

"""Send Data collected to CRIMS
"""Send data collection info to CRIMS.

POST /ispyb_checker/api/v2/informationsforicat

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think you need this comment

Comment thread mxcubecore/HardwareObjects/abstract/sample_changer/Crims.py

@marcus-oscarsson marcus-oscarsson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved with suggested changes

@jbflo jbflo force-pushed the jb_crims_dc branch 2 times, most recently from c7cf3ac to 04b67b2 Compare July 9, 2026 14:28
Rewrites send_data_collection_info_to_crims to match the confirmed
CRIMS endpoint: POST /ispyb_checker/api/v2/informationsforicat with
a JSON body (crystalUuid, sampleName, instrumentName, facilityName,
investigationID) and harvester-key in the header.
@marcus-oscarsson marcus-oscarsson merged commit 6c7ecd3 into develop Jul 15, 2026
13 checks passed
@marcus-oscarsson marcus-oscarsson deleted the jb_crims_dc branch July 15, 2026 10:06
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.

2 participants