omas.machines

omas.machines(machine=None, branch='')[source]

Function to get machines that have their mappings defined This function takes care of remote transfer the needed files (both .json and .py) if a remote branch is requested

Parameters
  • machine – string with machine name or None

  • branch – GitHub branch from which to load the machine mapping information

Returns

if machine==None returns dictionary with list of machines and their json mapping files if machine is a string, then returns json mapping filename