Skip to content

Commit

Permalink
output file
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Nov 23, 2024
1 parent 7c96fcd commit e534a33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/example_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ def main():
url="https://dandiarchive.s3.amazonaws.com/blobs/057/ecb/057ecbef-e732-4e94-8d99-40ebb74d346e",
)
],
outputFiles=[DendroJobOutputFile(name="output", fileBaseName="output.txt")],
outputFiles=[
DendroJobOutputFile(
name="output",
fileBaseName="cells0_clean.nwb",
)
],
parameters=[
DendroJobParameter(name=k, value=v) for k, v in parameters_dict.items()
],
Expand Down
3 changes: 3 additions & 0 deletions voluseg/VolusegProcessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def run(context: VolusegContext):
parameters0["t_baseline"] = context.t_baseline
parameters0["t_section"] = context.t_section
parameters0["thr_mask"] = context.thr_mask
parameters0["output_to_nwb"] = True

voluseg.step0_process_parameters(parameters0)
filename_parameters = str(
Expand All @@ -79,3 +80,5 @@ def run(context: VolusegContext):

print("Clean cells...")
voluseg.step5_clean_cells(parameters)

context.output.upload("/tmp/voluseg_output/cells0_clean.nwb")

0 comments on commit e534a33

Please sign in to comment.