ISISComputingGroup / ISISComputingGroup/IBEX

Muons: access scripts loaded via g.load_script from the reduced namespace

Open
#5,117 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
6
Forks
2
Avg merge
16h 40m
Merged PRs (30d)
2

Description

As a muon instrument scientist, I would like to type `r.runscript()` rather than `runscript()` to execute a script which has been loaded from the script generator via `g.load_script()`. This is because I want my users to always have a consistent set of commands - i.e. all commands begin with `r.` and end with brackets.

### Notes:
- Currently `g.load_script` loads scripts into the global namespace.
- We do need to consider the case when no script has been loaded, and give a sensible error message.
- The reduced set of commands (`r.`) was implemented in https://github.com/ISISComputingGroup/IBEX/issues/5066

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.