Bug #2228

GUI: 1D data loader does not threat 'fixed width' columns correctly

Added by ganeva 12 months ago. Updated 11 months ago.

Status:ResolvedStart date:16 Nov 2018
Priority:NormalDue date:
Assignee:juan% Done:

0%

Category:-
Target version:Sprint 39

Description

To reproduce: start BornAgain GUI, via 'Import 1D data' load the data file

sample-revlectivity/maria/b_104.dat

from our 'formats_and_reduction' repository.

The file contains 3 columns. This you can easily see in any text editor or check with Python:

import numpy as np
data = np.loadtxt('b_104.dat')
print(data.shape)

The result will be
(109, 3)

BornAgain 1D data loader widget creates 7 columns instead (see the attached screenshot).

Screenshot_20181116_130637.png (50.8 KB) ganeva, 16 Nov 2018 13:12

History

#1 Updated by herck 11 months ago

  • Assignee set to herck

#2 Updated by herck 11 months ago

  • Assignee deleted (herck)

#3 Updated by herck 11 months ago

  • Status changed from Sprint to Resolved
  • Assignee set to juan

Also available in: Atom PDF