Skip to content

Commit 8452ae9

Browse files
committed
added call to setOrganizationName() and setApplicationName() in the compare() function as in the edit() function
1 parent 91182a5 commit 8452ae9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

larray_editor/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ def compare(*args, **kwargs):
216216
217217
absolute(array1 - array2) <= (atol + rtol * absolute(array2))
218218
219-
220219
Examples
221220
--------
222221
>>> a1 = ndtest(3) # doctest: +SKIP
@@ -234,6 +233,8 @@ def compare(*args, **kwargs):
234233
_app = QApplication.instance()
235234
if _app is None:
236235
_app = qapplication()
236+
_app.setOrganizationName("LArray")
237+
_app.setApplicationName("Viewer")
237238
parent = None
238239
else:
239240
parent = _app.activeWindow()

0 commit comments

Comments
 (0)