Skip to content

Commit

Permalink
Further tweaks to plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gb119 committed Aug 4, 2016
1 parent ebe5fe5 commit 9004d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/GenX/stoner.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def LoadData(self, data_item_number, filename):
if len(datafile.setas.cols["yerr"])>0:
self.e_col=datafile.setas.cols["yerr"][0]
else:
datafile&=np.ones(len(datafile))
datafile.add_column(np.ones(len(datafile)))
datafile.setas[-1]="e"
except Exception as e:
ShowWarningDialog(self.parent, 'The data file does not contain'\
Expand Down

0 comments on commit 9004d8a

Please sign in to comment.