Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

application_settings.py 664 B

12345678910111213141516171819202122
  1. from PyQt5.QtCore import QCoreApplication, QSettings
  2. from ..python_core.appdirs import get_app_name_organization_domain
  3. def initialize_app_settings():
  4. """
  5. Initialize application Name, Organization Name and Domain
  6. """
  7. name, org, domain = get_app_name_organization_domain()
  8. QCoreApplication.setApplicationName(name)
  9. QCoreApplication.setOrganizationName(org)
  10. QCoreApplication.setOrganizationDomain(domain)
  11. def get_view_qsettings_manager():
  12. """
  13. :return: a QSettings object which can be used to access view configuration values
  14. """
  15. name, org, domain = get_app_name_organization_domain()
  16. return QSettings(org, name)