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

I24 ssx: Use a callback for ispyb deposition #558

Open
2 tasks
noemifrisina opened this issue Oct 8, 2024 · 1 comment
Open
2 tasks

I24 ssx: Use a callback for ispyb deposition #558

noemifrisina opened this issue Oct 8, 2024 · 1 comment
Labels
I24 serial Issues relating to ssx on I24

Comments

@noemifrisina
Copy link
Contributor

noemifrisina commented Oct 8, 2024

Set up a callback for the ispyb deposition, to replace the restful interface currently in use in the serial code.
The callback used in hyperion should be mostly reusable for this.

@noemifrisina noemifrisina added the I24 serial Issues relating to ssx on I24 label Oct 8, 2024
@noemifrisina noemifrisina changed the title Use a callback for ispyb deposition I24 ssx: Use a callback for ispyb deposition Oct 8, 2024
@DominicOram
Copy link
Contributor

DominicOram commented Oct 15, 2024

The collections look like:

dataCollectionId: 15521233
                 BLSAMPLEID: NULL
                  SESSIONID: 27532659
             experimenttype: NULL
       dataCollectionNumber: NULL
                  startTime: 2024-10-09 02:29:10
                    endTime: 2024-10-09 02:32:57
                  runStatus: DataCollection Successful
                  axisStart: NULL
                    axisEnd: NULL
                  axisRange: 0.001
                    overlap: NULL
             numberOfImages: 6084
           startImageNumber: 0
             numberOfPasses: NULL
               exposureTime: 0.01
             imageDirectory: /dls/i24/data/2024/mx38934-5/.../
                imagePrefix: NULL
                imageSuffix: NULL
      imageContainerSubPath: NULL
               fileTemplate: xavi00052_#####.cbf
                 wavelength: 0.99987
                 resolution: 2.47
           detectorDistance: 490
                      xBeam: 220.968
                      yBeam: 225.079
                   comments: NULL
         printableForReport: 1
               CRYSTALCLASS: NULL
            slitGapVertical: NULL
          slitGapHorizontal: NULL
               transmission: 100
            synchrotronMode: NULL
      xtalSnapshotFullPath1: /...pia.png
      xtalSnapshotFullPath2: /.../index.png
      xtalSnapshotFullPath3: NULL
      xtalSnapshotFullPath4: NULL
               rotationAxis: NULL
                   phiStart: NULL
                 kappaStart: NULL
                 omegaStart: NULL
                   chiStart: NULL
         resolutionAtCorner: NULL
             detector2Theta: NULL
               DETECTORMODE: NULL
              undulatorGap1: NULL
              undulatorGap2: NULL
              undulatorGap3: NULL
          beamSizeAtSampleX: 0.007
          beamSizeAtSampleY: 0.007
            centeringMethod: NULL
         averageTemperature: NULL
        ACTUALSAMPLEBARCODE: NULL
ACTUALSAMPLESLOTINCONTAINER: NULL
     ACTUALCONTAINERBARCODE: NULL
    ACTUALCONTAINERSLOTINSC: NULL
    actualCenteringPosition: NULL
                  beamShape: NULL
      dataCollectionGroupId: 13123468
                 POSITIONID: NULL
                 detectorId: 58
     FOCALSPOTSIZEATSAMPLEX: NULL
               POLARISATION: NULL
     FOCALSPOTSIZEATSAMPLEY: NULL
                 APERTUREID: NULL
            screeningOrigId: NULL
                       flux: NULL
     strategySubWedgeOrigId: NULL
              blSubSampleId: NULL
          processedDataFile: NULL
                datFullPath: NULL
              magnification: NULL
          totalAbsorbedDose: NULL
                    binning: 1
           particleDiameter: NULL
                boxSize_CTF: NULL
              minResolution: NULL
                 minDefocus: NULL
                 maxDefocus: NULL
            defocusStepSize: NULL
          amountAstigmatism: NULL
                extractSize: NULL
                   bgRadius: NULL
                    voltage: NULL
                objAperture: NULL
                 c1aperture: NULL
                 c2aperture: NULL
                 c3aperture: NULL
                     c1lens: NULL
                     c2lens: NULL
                     c3lens: NULL
            startPositionId: NULL
              endPositionId: NULL
                   flux_end: NULL
         bestWilsonPlotPath: NULL
           totalExposedDose: NULL
       nominalMagnification: NULL
             nominalDefocus: NULL
                 imageSizeX: NULL
                 imageSizeY: NULL
           pixelSizeOnImage: NULL
                 phasePlate: NULL
       dataCollectionPlanId: NULL

and group:

      dataCollectionGroupId: 13123468
                  sessionId: 27532659
                   comments: NULL
                 blSampleId: NULL
             experimentType: Serial Fixed
                  startTime: 2024-10-09 02:29:10
                    endTime: NULL
               crystalClass: NULL
               detectorMode: NULL
        actualSampleBarcode: NULL
actualSampleSlotInContainer: NULL
     actualContainerBarcode: NULL
    actualContainerSlotInSC: NULL
       xtalSnapshotFullPath: NULL
             scanParameters: NULL
           experimentTypeId: NULL
                 workflowId: NULL

Note the snapshot directory is actually being put in by analysis and so we don't need to change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I24 serial Issues relating to ssx on I24
Projects
None yet
Development

No branches or pull requests

2 participants