Hi Tom, hi Eric,
thanks a lot for Eric's suggestion! This is very neat and works like a charm!
@Tom: In a "normal" python script importing code from another module in the same directory is actually not a problem. As far as I understand, that is because calling "python myScript.py" prepends myScript's directory to sys.path (see e.g.
https://docs.python.org/3/library/sys.html#sys.path). With pymol this also works, which is how I got used to organising all my pymol scripts that way. I suppose opening a script with chimerax just doesn't prepend its directory to sys.path then and there
is no simple way to change this?
Thanks a lot once more,
Maik