naming
This commit is contained in:
@@ -4,8 +4,7 @@ from utils import FileHandler
|
||||
from zmqsocks import ZMQSocketsAccumulator
|
||||
|
||||
|
||||
OUTPUT_DIR_NAME = "/gpfs/photonics/swissfel/buffer/dap/data"
|
||||
|
||||
OUTPUT_DIR = "/gpfs/photonics/swissfel/buffer/dap/data"
|
||||
|
||||
|
||||
def main():
|
||||
@@ -39,7 +38,7 @@ def accumulate(accumulator_host, accumulator_port):
|
||||
pulse_id = results.get("pulse_id", 0)
|
||||
|
||||
rounded_pulse_id = str(pulse_id // 10000 * 10000)
|
||||
fname = f"{OUTPUT_DIR_NAME}/{detector}/{rounded_pulse_id}.dap"
|
||||
fname = f"{OUTPUT_DIR}/{detector}/{rounded_pulse_id}.dap"
|
||||
output.switch(fname)
|
||||
|
||||
res_is_good_frame = results.get("is_good_frame", -1)
|
||||
|
||||
Reference in New Issue
Block a user