Skip to content

Commit 93fb8a9

Browse files
authored
Merge branch 'pre-release' into doc-update-tutorials
2 parents f16fd7f + 8f93ea3 commit 93fb8a9

File tree

13 files changed

+10
-689
lines changed

13 files changed

+10
-689
lines changed

docs/src/installing/build.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Local Install
9494
$ cmake .. -DROGUE_INSTALL=local
9595
$ make -j$(nproc)
9696
$ make install
97-
$ source ../setup_rogue.sh (or .csh)
97+
$ source ../setup_rogue.sh (or .csh, or .fish)
9898
9999
Custom Install
100100
--------------
@@ -111,7 +111,7 @@ Make sure you have permission to install into the passed install directory, if n
111111
$ cmake .. -DROGUE_INSTALL=custom -DROGUE_DIR=/path/to/custom/dir
112112
$ make -j$(nproc)
113113
$ make install
114-
$ source /path/to/custom/dir/setup_rogue.sh (or .csh)
114+
$ source /path/to/custom/dir/setup_rogue.sh (or .csh, or .fish)
115115
116116
117117
System Install

docs/src/utilities/fileio/classes/index.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ The following are detailed descriptions of the various C++ classes that make up
1313
writer.rst
1414
channel.rst
1515
reader.rst
16-
legacy_writer.rst
17-
legacy_reader.rst
18-

docs/src/utilities/fileio/classes/legacy_reader.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/src/utilities/fileio/classes/legacy_writer.rst

Lines changed: 0 additions & 19 deletions
This file was deleted.

include/rogue/utilities/fileio/LegacyStreamReader.h

Lines changed: 0 additions & 99 deletions
This file was deleted.

include/rogue/utilities/fileio/LegacyStreamWriter.h

Lines changed: 0 additions & 83 deletions
This file was deleted.

python/pyrogue/pydm/__init__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
import signal
1818
import pydm
1919
import pyrogue
20-
import pyrogue.pydm.data_plugins.rogue_plugin
20+
import pydm.data_plugins
21+
from pyrogue.pydm.data_plugins.rogue_plugin import RoguePlugin
2122

2223
# Define a signal handler to ensure the application quits gracefully
2324
def pydmSignalHandler(sig, frame):
@@ -47,6 +48,12 @@ def runPyDM(serverList='localhost:9090', ui=None, title=None, sizeX=800, sizeY=1
4748
args.append(f"maxListExpand={maxListExpand}")
4849
args.append(f"maxListSize={maxListSize}")
4950

51+
pydm.data_plugins.initialize_plugins_if_needed()
52+
53+
# Add Rogue plugin manually, if it hasn't already been added based on $PYDM_DATA_PLUGINS_PATH
54+
if 'rogue' not in pydm.data_plugins.plugin_modules:
55+
pydm.data_plugins.add_plugin(RoguePlugin)
56+
5057
# Initialize the PyDM application with specified parameters
5158
app = pydm.PyDMApplication(ui_file=ui,
5259
command_line_args=args,

python/pyrogue/utilities/fileio/_StreamWriter.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,3 @@ def getChannel(self,chan):
8989

9090
def setDropErrors(self,drop):
9191
self._writer.setDropErrors(drop)
92-
93-
94-
class LegacyStreamWriter(StreamWriter):
95-
def __init__(self, **kwargs):
96-
super().__init__(writer=rogue.utilities.fileio.LegacyStreamWriter(), **kwargs)
97-
98-
def getDataChannel(self):
99-
return self._writer.getDataChannel()
100-
101-
def getYamlChannel(self):
102-
return self._writer.getYamlChannel()

src/rogue/utilities/fileio/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
target_sources(rogue-core PRIVATE "${CMAKE_CURRENT_LIST_DIR}/StreamReader.cpp")
1414
target_sources(rogue-core PRIVATE "${CMAKE_CURRENT_LIST_DIR}/StreamWriter.cpp")
1515
target_sources(rogue-core PRIVATE "${CMAKE_CURRENT_LIST_DIR}/StreamWriterChannel.cpp")
16-
target_sources(rogue-core PRIVATE "${CMAKE_CURRENT_LIST_DIR}/LegacyStreamWriter.cpp")
17-
target_sources(rogue-core PRIVATE "${CMAKE_CURRENT_LIST_DIR}/LegacyStreamReader.cpp")
1816

1917
if (NOT NO_PYTHON)
2018
target_sources(rogue-core PRIVATE "${CMAKE_CURRENT_LIST_DIR}/module.cpp")

0 commit comments

Comments
 (0)