andvazva / FFClust

GNU General Public License v3.0
5 stars 1 forks source link

Error in main.py #3

Open DavidBarriere opened 2 years ago

DavidBarriere commented 2 years ago

Dear Andrea, I am trying to use FFClust onto Horse'diffusion data. When I use the example dataset (raw_tractography_21.bundles) everything is working. But when I try with my dataset with the following command : python3 main.py --infile '/home/david/Bureau/FFClust/example_data/horses/tractography-streamline-regularized-deterministic.bundles' --outdir '/home/david/Bureau/FFClust/example_data/horses/result'

I get this error: Traceback (most recent call last): File "main.py", line 58, in main() File "main.py", line 48, in main fibers = IO.read_bundles(args.infile) File "/home/david/Bureau/FFClust/IO.py", line 35, in read_bundles bundles, names = IOF.read_bundles(path) File "/home/david/Bureau/FFClust/IOFibers.py", line 75, in read_bundles return read_data(data_path,dim,nfibers,bnames,intervals,byte_order), bnames File "/home/david/Bureau/FFClust/IOFibers.py", line 59, in read_data f = open(data_path,"rb") FileNotFoundError: [Errno 2] No such file or directory: '/home/david/Bureau/FFClust/example_data/horses/tractography-streamline-regularized-deterministiccurves_count'

sounds like failure during header reading ?