Skip to content

GudPy sample import fails #503

@rhinoella

Description

@rhinoella

When importing a sample file it fails with the output:

Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
Designer: The enumeration-type property verticalScrollBarPolicy could not be read.
/home/nimrod_mgr/src/GudPy/gudpy/gudpy_gui.py:13: DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.
  sys.exit(self.exec_())
H-CSA
D-CSA
8mm_empty_quartz
HD-CSA
H-CSA+25mg/mL_HiPCO
Traceback (most recent call last):
  File "/home/nimrod_mgr/src/GudPy/gudpy/gui/widgets/core/gudpy_tree.py", line 290, in setData
    [s.name for s in self.gudrunFile.sampleBackground.samples],
AttributeError: 'GudrunFile' object has no attribute 'sampleBackground'. Did you mean: 'sampleBackgrounds'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions