Skip to content

Commit

Permalink
Don't order DataPMT by Active
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaponte committed Mar 3, 2025
1 parent e322f2c commit 52380fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invisible_cities/database/load_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def DataPMT(db_file, run_number=1e5):
and pos.MinRun <= {0} and {0} <= pos.MaxRun
and map.MinRun <= {0} and {0} <= map.MaxRun
and pos.Label LIKE 'PMT%'
order by Active desc, pos.SensorID
order by pos.SensorID
'''.format(abs(run_number))
data = pd.read_sql_query(sql, conn)
data.fillna(0, inplace=True)
Expand Down

0 comments on commit 52380fc

Please sign in to comment.