-
Notifications
You must be signed in to change notification settings - Fork 4
Add CLI support #3
Copy link
Copy link
Open
Description
Add cli support
We already have all of our tasks configured via basic json compatible arguments (float, str, tuple, etc.), it should be straight forward to expose each blockwise call to a cli so:
from volara.blockwise import ExtractFragments
extract_fragments = ExtractFrags(
db=db,
affs_data=affinities,
frags_data=fragments,
block_size=(20, 100, 100),
context=(2, 2, 2),
bias=[-0.5, -0.5, -0.5],
)
extract_fragments.run_blockwise()becomes
volara extract_frags --db db.sqlite --affs_data path/to/affs --frags_data path/to/frags --blocksize 20 100 100 --context 2 2 2 --bias -0.5 -0.5 -0.5Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels