Skip to content

Conversation

@MatthewJCameron
Copy link
Collaborator

Added extra .get() to PVs where necessary.

Implemented ability to simulate epics using submodule 'epics' from my repo. This required moving some import statements in the main.

Basically (once you accept collaboration with the new private repo and thus can clone it) in your top-level directory for syncmrt you type:
git submodule init
git submodule update
and that clones my 'epics' (fake) into syncmrt/external/epics/

Then just set the boolean SIMULATE in main to 'True' and it adds 'external' to the import path ahead of 'site-packages' (where the real pyepics 'epics' is stored)
and Voila!

… allow addition of external to path when using fake epics (having 'epics' at top level forces loading of fake epics preferentially to pyepics in all cases - this setup avoids that)
…cs submodule works as expected with 'git submodule init; git submodule update' in fresh clone. main.py simulate bool set to False by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant