Dear Enric,
Yes I tried to export manually the variables in my script, but it seems that I am not able to achieve the same result as
lb-run -c best LHCb/v50r6p1 bash --norc
Actually running it in the SWAN terminal, will correctly load the environment. I would like to have the same environment in the notebooks. Also in a notebook:
%%bash
lb-run -c best LHCb/v50r6p1 bash --norc
works, but the environment is only available in the current cell.
Thank you again