Closed dmgav closed 3 years ago
I am using the /etc/n2sn_tools.yml
file (that should be deployed to every BL) to identify the current beamline, e.g.:
...
common:
default_instrument: srx
...
@mrakitin Interesting. I will think how to implement unified approach that could be used in all 3 packages. I am not sure what would be the best way to use it if someone wants to use Data Broker on a local computer. There could be an option to use /etc/pyxrf/pyxrf.yaml
, then n2sn_tools.yaml
and then host name. For now I will just merge this PR. It seems to satisfy immediate needs.
Use host name to identify beamline if there is no
/etc/pyxrf/pyxrf.json
file. Ifjson
file exists, then it is still takes precedence. The approach is identical to the one taken inptycho-gui
.