Skip to content

Commit

Permalink
Update to 2.6.7
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmarty committed Mar 28, 2018
1 parent 52c0646 commit a5fa589
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GUniDec.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def init(self, *args, **kwargs):
self.on_auto(0)

# For testing, load up a spectrum at startup. Used only on MTM's computer.
if True and platform.node() == "DESKTOP-R236BN2":
if False and platform.node() == "DESKTOP-R236BN2":
# fname = "HSPCID.txt"
fname = "0.txt"
# fname = "250313_AQPZ_POPC_100_imraw_input.dat"
Expand Down
5 changes: 4 additions & 1 deletion unidec_modules/unidectools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,10 @@ def dataprep(datatop, config):
data2[:, 1] -= np.amin(data2[:, 1])

if linflag == 2:
data2 = remove_middle_zeros(data2)
try:
data2 = remove_middle_zeros(data2)
except:
pass
pass

# Normalization
Expand Down

0 comments on commit a5fa589

Please sign in to comment.