old_contents: import os
  
  PYMICRO_ROOT_DIR = os.path.abspath(os.curdir)
  PYMICRO_EXAMPLES_DATA_DIR = os.path.join(PYMICRO_ROOT_DIR, 'examples', 'data')
  PYMICRO_XRAY_DATA_DIR = os.path.join(PYMICRO_ROOT_DIR, 'pymicro', 'xray', 'data')
new_contents: import os
  
  PYMICRO_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
  PYMICRO_EXAMPLES_DATA_DIR = os.path.join(PYMICRO_ROOT_DIR, 'examples', 'data')
  PYMICRO_XRAY_DATA_DIR = os.path.join(PYMICRO_ROOT_DIR, 'pymicro', 'xray', 'data')
subject: fix path issue when running from outside pymicro