mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:27:07 +00:00
Change configuration paths for SSE export
This commit is contained in:
@@ -31,7 +31,7 @@ def write_file (filename, payload):
|
||||
|
||||
def seis_data (survey):
|
||||
try:
|
||||
pathPrefix = survey["exports"]["human"]["path"]
|
||||
pathPrefix = survey["sse"]["path"]
|
||||
except KeyError:
|
||||
print("Survey does not define an export path for human data")
|
||||
return
|
||||
@@ -48,7 +48,7 @@ def seis_data (survey):
|
||||
if sequence['status'] not in ["final", "ntbp"]:
|
||||
continue
|
||||
|
||||
filename = pathlib.Path(pathPrefix, "SSE", "sequence{:0>3d}.json".format(sequence['sequence']))
|
||||
filename = pathlib.Path(pathPrefix, "sequence{:0>3d}.json".format(sequence['sequence']))
|
||||
if filename.exists():
|
||||
print(f"Skipping export for sequence {sequence['sequence']} – file already exists")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user