Skip to content

Commit

Permalink
Remove irrelevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Willemsen committed Nov 16, 2024
1 parent 4f9e236 commit 18e5171
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 253 deletions.
File renamed without changes.
121 changes: 0 additions & 121 deletions Jenkinsfile

This file was deleted.

97 changes: 0 additions & 97 deletions Jenkinsfile_linux

This file was deleted.

20 changes: 5 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
# genie_python

The ISIS Python-based instrument control and scripting library.
Instrument control and scripting library at the ISIS Neutron & Muon source.

## Instrument initialisation
---

By default when setting an instrument the init_default.py file is loaded.
This file checks for the existence of a folder called C:\Instrument\Settings\config\NDX%INSTNAME%\Python and adds this to the sys path if it does.
If this path exists and contains a file called init_%INSTNAME%.py, it will load it too.
Documentation: https://isiscomputinggroup.github.io/genie/genie_python

On the NDX any files in C:\Instrument\Settings\config\NDX%INSTNAME%\Python can be added to SVN for safe keeping.
Source: https://github.com/ISISComputingGroup/genie

Python modules can be imported directly from the C:\Instrument\Settings\config\NDX%INSTNAME%\Python directory. If running on a client it is necessary to have a copy of the Python directory for the instrument being connected to in the correct location.

Folders inside the Python directory must have a `__init__.py` file for them to be available to be imported.

## Start-up
The line "from genie_python import *" in genie_startup is responsible for loading all the genie_python stuff!
This file also contains code for disabling quickedit and for making genie_python guess the instrument name.

As genie_python is running inside IPython we use c.TerminalIPythonApp.exec_files to run genie_start.py, so everything is imported correctly.
PyPi: https://pypi.org/project/genie_python/
12 changes: 0 additions & 12 deletions mantid_requirements.txt

This file was deleted.

8 changes: 0 additions & 8 deletions parse_rules

This file was deleted.

0 comments on commit 18e5171

Please sign in to comment.