Skip to content

Commit

Permalink
Hotfix: ddMicrobunches didn't include Train channels
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Jan 27, 2022
1 parent 5422a80 commit 9d3926b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = hextof-processor
version = 1.0.9
version = 1.1.0
author = Yves Acremann, Steinn Ymir Agustsson, Davide Curcio, Maciej Dendzik, Michael Heber, Muhammad Zain Sohail, Rui Patrick Xian
author_email = zainsohail04@gmail.com
description = Hextof Offline Analyzer
Expand Down
2 changes: 1 addition & 1 deletion src/processor/DldFlashDataframeCreatorExpress.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def readData(self, runs=None, ignore_missing_runs=False, settings=None, channels
self.fillNA()
df = dd.concat(self.dfs)
df_electron = df.dropna(subset=self.channelsPerElectron)
pulse_columns = ['trainId','pulseId','electronId'] + self.channelsPerPulse
pulse_columns = ['trainId','pulseId','electronId'] + self.channelsPerPulse + self.channelsPerTrain
df_pulse = df[pulse_columns]
df_pulse = df_pulse[(df_pulse['electronId']==0)|(np.isnan(df_pulse['electronId']))]

Expand Down

0 comments on commit 9d3926b

Please sign in to comment.