Skip to content
Snippets Groups Projects
  1. Feb 05, 2022
  2. Feb 02, 2022
  3. Jan 27, 2022
  4. Aug 25, 2021
  5. 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
  6. Mar 14, 2021
  7. Mar 07, 2021
  8. Mar 05, 2021
  9. Dec 18, 2020
  10. Dec 15, 2020
  11. Dec 14, 2020
  12. Dec 09, 2020
  13. Dec 08, 2020
  14. Dec 02, 2020
  15. Nov 28, 2020
  16. Nov 19, 2020
  17. Nov 16, 2020
  18. Sep 27, 2020
  19. Aug 15, 2020
  20. Aug 12, 2020
  21. May 20, 2020
  22. May 28, 2019
  23. Jan 31, 2018
  24. May 03, 2017
Loading