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

DM-16297: Add Gen3 butler support #105

Merged
merged 33 commits into from
Sep 19, 2019
Merged

DM-16297: Add Gen3 butler support #105

merged 33 commits into from
Sep 19, 2019

Commits on Sep 19, 2019

  1. Refactor filter definitions into a separate file.

    This will allow the Gen2 Mapper and the Gen3 Instrument classes
    to use the same definitions without depending on each other.
    TallJimbo authored and timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    09b8107 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99aac5f View commit details
    Browse the repository at this point in the history
  3. WIP refactoring raw assembly code.

    TallJimbo authored and timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    6d40b14 View commit details
    Browse the repository at this point in the history
  4. Fix some flake8 warnings

    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    1297af5 View commit details
    Browse the repository at this point in the history
  5. Use new scheme for getting camera

    Tests still fail because register method does not do anything.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    ba3c5bf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    07da819 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    190a07c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    13d6601 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c8594f2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6bea85d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    240c944 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b2f8270 View commit details
    Browse the repository at this point in the history
  13. Add comCam gen3

    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    7fff7a5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    307ca69 View commit details
    Browse the repository at this point in the history
  15. Add newly required instrument methods

    * writeCuratedCalibrations
    * applyConfigOverrides
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    f9da43b View commit details
    Browse the repository at this point in the history
  16. Use mkdtemp rather than TemporaryDirectory

    The latter does not work properly if rmtree fails (eg on NFS)
    because it is not configured to ignore errors. Instead use
    mkdtemp in the setUp and remove it in the tearDown as is done
    in daf_butler.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    c7c1731 View commit details
    Browse the repository at this point in the history
  17. Rename AuxTel to LATISS

    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    a2768ed View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a6bcaed View commit details
    Browse the repository at this point in the history
  19. Add gen3 raw formatters

    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    2efd5e3 View commit details
    Browse the repository at this point in the history
  20. Add gen3 ingest test

    For LATISS and TS3 at the moment since they take a while.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    d737553 View commit details
    Browse the repository at this point in the history
  21. Create camera directly rather than going through gen2 mapper

    lsstCamMapper was not really doing anything clever to create
    the camera so copy the one line into gen3 instrument rather
    than importing the mapper code.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    79c527f View commit details
    Browse the repository at this point in the history
  22. Fix formatter for LsstCam

    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    e1a828e View commit details
    Browse the repository at this point in the history
  23. Fix test dir property usage

    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    1037257 View commit details
    Browse the repository at this point in the history
  24. Cache the camera in the class properly

    Without this if LsstCam is created first the subclasses
    won't read their cameras.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    9af27ad View commit details
    Browse the repository at this point in the history
  25. If profiling, profile all the tests as one

    (although may be better to use pytest --profile).
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    b595840 View commit details
    Browse the repository at this point in the history
  26. Move the max detector value into a translator class property

    This allows gen3 instrument to obtain it.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    81d1486 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    c763408 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    09751ce View commit details
    Browse the repository at this point in the history
  29. Ensure that the tests depend on the policy files

    Otherwise you can get a race where pytest starts before
    all the camera YAML files have been created.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    2d45505 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    8f5d09d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c8861b6 View commit details
    Browse the repository at this point in the history
  32. Resurrect the utility file reader

    Although it can no longer run without a detector being supplied.
    We could make detector optional if we took that to mean we
    can skip the fix amp geometry step.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    5e42e92 View commit details
    Browse the repository at this point in the history
  33. Use fits.readMetadata not afwImage.readMetadata

    It seems that the latter has been deprecated for a while.
    timj committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    7922e08 View commit details
    Browse the repository at this point in the history