achim1 / muonic

A python gui for QNet DAQ card experiments
http://achim1.github.io/muonic/
1 stars 9 forks source link

Pulsefilenames date format not consistent #52

Closed achim1 closed 9 years ago

achim1 commented 9 years ago

It seems that the month is written like "6" instead of "06" in the name of the pulsefile

aschulzdesy commented 9 years ago

Example here bildschirmfoto vom 2015-07-21 10_41_54

hpbretz commented 9 years ago

which version of muonic is this?

hpbretz commented 9 years ago

Whit the current commit (2.0.15), it should work properly.

aschulzdesy commented 9 years ago

Hi, this is not working. See screeshot: bildschirmfoto vom 2015-07-22 10_14_02

hpbretz commented 9 years ago

Managed to reproduce the issue. This happens when one starts muonic without the option '-p', and then activates the pulse analyzer widget. In that case, the starting time of the pulse file is also different from the other file because a different time function (time.gmtime()) is used. I'll change this to use the same defintion at all places.

hpbretz commented 9 years ago

Fixed in commit https://github.com/achim1/muonic/commit/04c044f174572faddfb766a113607639ab6da9bb

hpbretz commented 9 years ago

test again with newest version. If it is fixed in 2.0.21, we need a new package with 2.0.21, because it doesn't work in 2.0.20

hpbretz commented 9 years ago

Works properly in 2.0.22