We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663a6ae commit b544aeeCopy full SHA for b544aee
src/murfey/server/demo_api.py
@@ -1576,9 +1576,17 @@ async def process_gain(
1576
else:
1577
return {"gain_ref": None}
1578
gain_ref_out = (
1579
- (filepath / "processing" / f"gain_{gain_reference_params.tag}.mrc")
+ (
1580
+ filepath
1581
+ / machine_config.get("gain_directory_name", "processing")
1582
+ / f"gain_{gain_reference_params.tag}.mrc"
1583
+ )
1584
if gain_reference_params.tag
- else (filepath / "processing" / "gain.mrc")
1585
+ else (
1586
1587
1588
+ / "gain.mrc"
1589
1590
)
1591
return {
1592
"gain_ref": gain_ref_out.relative_to(Path(machine_config["rsync_basepath"]))
0 commit comments