hutch_python.utils.get_current_experiment

hutch_python.utils.get_current_experiment(hutch)

Get the current experiment for hutch.

This currently works by running an external script on NFS, but this will be changed in the future.

Parameters:

hutch (str) – The hutch we would like to know the current experiment of

Returns:

expname – Full experiment name, e.g. xppls2516

Return type:

str