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.

__init__.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. """DataLad Gooey"""
  2. __docformat__ = 'restructuredtext'
  3. import logging
  4. lgr = logging.getLogger('datalad.ext.gooey')
  5. # Defines a datalad command suite.
  6. # This variable must be bound as a setuptools entrypoint
  7. # to be found by datalad
  8. command_suite = (
  9. # description of the command suite, displayed in cmdline help
  10. "Gooey (GUI)",
  11. [
  12. ('datalad_gooey.gooey', 'Gooey'),
  13. ('datalad_gooey.lsdir', 'GooeyLsDir', 'gooey-lsdir', 'gooey_lsdir'),
  14. ('datalad_gooey.status_light', 'GooeyStatusLight',
  15. 'gooey-status-light', 'gooey_status_light'),
  16. ]
  17. )
  18. from datalad.support.extensions import register_config
  19. from datalad.support.constraints import EnsureChoice
  20. register_config(
  21. 'datalad.gooey.ui-mode',
  22. 'Which user interface mode to use in the application',
  23. description=\
  24. "In 'simplified' mode advanced operations operations are hidden "
  25. "in the user interface. In 'complete' mode, all functionality "
  26. 'is exposed.',
  27. type=EnsureChoice('simplified', 'complete'),
  28. default='simplified',
  29. scope='global')
  30. register_config(
  31. 'datalad.gooey.ui-theme',
  32. 'Which user interface theme to use in the application',
  33. description=\
  34. "Besides the standard 'system' theme, additional 'light' and 'dark' "
  35. "themes are available, if the `qdarktheme` package is installed.",
  36. type=EnsureChoice('system', 'light', 'dark'),
  37. default='system',
  38. scope='global')
  39. from ._version import get_versions
  40. __version__ = get_versions()['version']
  41. del get_versions