Skip to content
Snippets Groups Projects
  1. Aug 24, 2021
  2. Aug 03, 2021
  3. Aug 02, 2021
  4. Aug 01, 2021
  5. Jul 29, 2021
  6. Jul 23, 2021
  7. Jul 16, 2021
  8. Jul 09, 2021
  9. Jul 07, 2021
  10. Jul 06, 2021
  11. Jul 04, 2021
  12. Jul 01, 2021
  13. Jun 28, 2021
  14. Jun 14, 2021
  15. Jun 07, 2021
  16. May 28, 2021
  17. May 25, 2021
    • Ammar Nejati's avatar
      Correct the Python import statements · 6a2c7476
      Ammar Nejati authored
      The addition of the path of `BA/Wrap/Python/__init__.py` to `os.path`
      is _not_ necessary anymore.
      
      The import statements need to be changed:
      ```
      import ba_plot -> from bornagain import ba_plot
      import ba_fitmonitor -> from bornagain import ba_fitmonitor
      ```
      
      The root-path of the project is correctly set in the shell script
      `thisbornagain.sh`.
      
      Consult e.g. "The Definitive Guide to Python import Statements" <https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html>
      
      Tested under Debian Buster, Python 3.7.3.
      
      Resolves issue #1198
      6a2c7476
  18. May 04, 2021
  19. May 03, 2021
Loading