Skip to content
Snippets Groups Projects
  1. Aug 01, 2021
  2. Jul 29, 2021
  3. Jul 23, 2021
  4. Jul 16, 2021
  5. Jul 09, 2021
  6. Jul 07, 2021
  7. Jul 06, 2021
  8. Jul 04, 2021
  9. Jul 01, 2021
  10. Jun 28, 2021
  11. Jun 14, 2021
  12. Jun 07, 2021
  13. May 28, 2021
  14. 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
  15. May 04, 2021
  16. May 03, 2021
  17. Apr 28, 2021
  18. Apr 26, 2021
  19. Apr 24, 2021
  20. Apr 23, 2021
  21. Apr 21, 2021
Loading