Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
MNT #148 rename
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 11, 2020
1 parent 6649296 commit 8c959a6
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion profile_bluesky/startup/instrument/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
local, custom Device definitions
"""

from .aps import *
from .aps_source import *
from .pss import *

# upstream devices
Expand Down
4 changes: 2 additions & 2 deletions profile_bluesky/startup/instrument/devices/shutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from apstools.devices import EpicsOnOffShutter
from apstools.devices import SimulatedApsPssShutterWithStatus
from bluesky.suspenders import SuspendFloor
from instrument.devices.aps import aps
from instrument.devices.pss import operations_in_8idi
from instrument.devices import aps
from instrument.devices import operations_in_8idi
from instrument.startup import RE, sd
from ophyd import EpicsSignal

Expand Down
3 changes: 2 additions & 1 deletion profile_bluesky/startup/instrument/staff/QZ/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
from instrument.session_logs import logger
logger.info(__file__)

from bluesky import plans as bp
from bluesky import plan_stubs as bps
from instrument.devices import pind4, lakeshore, samplestage
from instrument.plans import sb, bb
from instrument.startup import bp, bps

logger.warning("Call pre_align() with shutter OPEN before you run RE(align_x())")

Expand Down
2 changes: 1 addition & 1 deletion profile_bluesky/startup/instrument/startup/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .check_python import *
from .check_bluesky import *

from .framework import *
from .initialize import *
from .user_dir import *
from .metadata import *
from .callbacks import *
8 changes: 4 additions & 4 deletions profile_bluesky/startup/instrument/startup/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
'newSpecFile',
]

from ..session_logs import logger
logger.info(__file__)

import apstools.filewriters
import apstools.utils
import datetime
import os

from ..startup.framework import RE, callback_db

from ..session_logs import logger
logger.info(__file__)
from .initialize import RE, callback_db

# write scans to SPEC data file
specwriter = apstools.filewriters.SpecWriterCallback()
Expand Down
8 changes: 4 additions & 4 deletions profile_bluesky/startup/instrument/startup/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

__all__ = []

from ..session_logs import logger
logger.info(__file__)

import apstools
import bluesky
import databroker
Expand All @@ -19,10 +22,7 @@
import socket
import spec2nexus

from ..startup.framework import RE

from ..session_logs import logger
logger.info(__file__)
from .initialize import RE

# Set up default metadata

Expand Down
6 changes: 3 additions & 3 deletions profile_bluesky/startup/instrument/startup/user_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

__all__ = []

from ..session_logs import logger
logger.info(__file__)

import IPython.paths
import os
import sys

from ..session_logs import logger
logger.info(__file__)

user_dir = os.path.join(
IPython.paths.get_ipython_dir(),
"user"
Expand Down

0 comments on commit 8c959a6

Please sign in to comment.