File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -1575,18 +1575,11 @@ async def process_gain(
15751575 )
15761576 else :
15771577 return {"gain_ref" : None }
1578+ gain_ref_folder = machine_config .get ("gain_directory_name" , "processing" )
15781579 gain_ref_out = (
1579- (
1580- filepath
1581- / machine_config .get ("gain_directory_name" , "processing" )
1582- / f"gain_{ gain_reference_params .tag } .mrc"
1583- )
1580+ (filepath / gain_ref_folder / f"gain_{ gain_reference_params .tag } .mrc" )
15841581 if gain_reference_params .tag
1585- else (
1586- filepath
1587- / machine_config .get ("gain_directory_name" , "processing" )
1588- / "gain.mrc"
1589- )
1582+ else (filepath / gain_ref_folder / "gain.mrc" )
15901583 )
15911584 return {
15921585 "gain_ref" : gain_ref_out .relative_to (Path (machine_config ["rsync_basepath" ]))
You can’t perform that action at this time.
0 commit comments