Comments (3)
Hi @mcyc -- You're right, and I think the issue is that init_lengths
was never being used on its own. branch_properties['number']
is getting set after calling init_lengths
: https://github.com/e-koch/FilFinder/blob/master/fil_finder/filament.py#L264 (there's a similar line in the old fil_finder_2D
). Setting the number of branches in init_lengths
does make more sense.
Is this causing an error for you when running FilFinder2D
?
from filfinder.
I haven't tried it with FilFinder2d
, but it did cause me an error when I tried to run prune_graph
with my own wrapper. Specifically, I run into an error when the 'criteria'
FilFinder/fil_finder/length.py
Line 590 in 81b6012
is true. This typically happens when the length_thresh
parameter has a none-zero value.
from filfinder.
Added a fix in #47
from filfinder.
Related Issues (20)
- Some attributes are not described in the docs HOT 8
- Performance tests
- networkx2.4: Graph Object methods removed HOT 3
- Return individual skeletons over the full original image.
- Outdated version of FilFinder in PyPI HOT 3
- Ignoring looped filaments HOT 1
- Assertion error in skeleton_analysis HOT 1
- Error in fil_finder setup command: use_2to3 is invalid HOT 2
- Longest path starting from the left HOT 2
- find_widths() AttributeError: No distance has not been given. HOT 1
- example script HOT 1
- Cannot show the skeleton and long path HOT 2
- 'FilFinder2D' object has no attribute 'flat_img' HOT 1
- fil.create_mask(verbose=True, border_masking=False)
- errors using Plummer1D as fit_model for find_widths HOT 1
- fil.create_mask in example script not working HOT 2
- identify branches pixels contaning endpoint HOT 1
- ANN: Please migrate away from pytest-openfiles
- is/== issue in width.py HOT 1
- ImportError: cannot import name 'update_default_config' from 'astropy.config.configuration' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filfinder.