Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a new automatic ordering method (to go from sparse matrix to dense along the diagonal). This works best on thresholded matrices.
The OLO has to be computed on a single matrix (--optimal_leaf_ordering) and then apply to all others (--in_ordering).
The previous behavior still works. --in_ordering is still a text file with two rows of integers to do the indexing in X and then Y (supports non-square output)
The behavior for the output filename convention changed a bit, before if you called the script with:
scil_reorder_connectivity.py */*.npy --in_ordering config.txt --out_suffix _reo
it would create all the matrices with a suffix in the current folder, now they are saved with the suffix in their original folder. To mimic the previous behavior:
scil_reorder_connectivity.py */*.npy --in_ordering config.txt --out_suffix _reo --out_dir ./