Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • pygwinc pygwinc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gwincgwinc
  • pygwincpygwinc
  • Merge requests
  • !138

added ameans to expose the precomp interfaces

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Lee McCuller requested to merge lee-mcculler/pygwinc:precomp_exposed into master Oct 05, 2021
  • Overview 17
  • Commits 5
  • Pipelines 8
  • Changes 11

Resolves #81

Added a registry to the budgets that collects all of the precomp functions and exposes them. It utilizes the precomp cache so they are not recomputed after a run. You can look in tests/budget/test_precomp.py to see how the interface is used.

The existing arm_cavity and ifo_power were not actually using the precomp interface, and now they are. This will break certain other uses of them as they need to take "f" as part of that interface.

There is also a very rudimentary command line interface. I suggest if people want to improve on that, merge this and improve it in a subsequent MR.

Edited Oct 05, 2021 by Lee McCuller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: precomp_exposed