Skip to content

Discussion on pro/cons of moving profile content in repo #10

@danielballan

Description

@danielballan

My understanding is that we plan to gradually move IPython profile content into this package, such that a beamline's IPython "startup" configuration is reduced to:

from nsls2tools.BEAMLINE.startup import *

IPython profiles can continue to be used for personal customization, which is what IPython intends them for.

In my view, the rationale for this change is:

  • With bluesky and ophyd 1.0 coming up, it's natural time to harden the configurations.
  • The configuration -- including its instance variables names -- is part of a beamline's public API, and it would be nice to be able to write automated integration tests and sphinx documentation against it.
  • Moving the configs into one repo increases the visibility of changes, both to DAMA and to the handful of BL staff who take an interest in facility-wide standardization.

I know @stuwilkins has some additional thoughts, related how to users interact with the profiles, but I'm not I could summarize them well, so I'll leave that to him if he has time.

On the other hand, @tacaswell has some strongly-held concerns that I failed to absorb in initial conversations about this. Tom, would you mind spelling them out here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions