You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the lastest scilpy and tractometry_flow master.
I got the following error trace:
Error executing process > 'Aggregate_All_Bundle_Length_Stats (Statistics)'
Caused by:
Process `Aggregate_All_Bundle_Length_Stats (Statistics)` terminated with an error exit status (1)
Command executed:
scil_merge_json.py sub-001_ses-1__length_stats.json length_stats.json --no_list
scil_harmonize_json.py length_stats.json length_stats.json -f -v --sort_keys
scil_convert_json_to_xlsx.py length_stats.json length_stats.xlsx
Command exit status:
1
Command output:
Layered keys of the dictionary:
['sub-001_ses-1']
['bundle-10', 'bundle-11', 'bundle-12', 'bundle-13', 'bundle-14', 'bundle-15', 'bundle-16', 'bundle-17', 'bundle-18', 'bundle-19', 'bundle-1', 'bundle-20', 'bundle-2', 'bundle-3', 'bundle-4', 'bundle-5', 'bundle-6', 'bundle-7', 'bundle-8', 'bundle-9']
['min_length_mm', 'mean_length_mm', 'max_length_mm', 'std_length_mm', 'min_length_nb_points', 'mean_length_nb_points', 'max_length_nb_points', 'std_length_nb_points', 'min_step_size', 'mean_step_size', 'max_step_size', 'std_step_size', 'data_per_point_keys', 'data_per_streamline_keys']
Command error:
This script has been renamed scil_json_harmonize_entries.py.
Please change your existing pipelines accordingly.
AS OF VERSION 1.9, CALLING THIS SCRIPT WILL RAISE <class 'scilpy.io.deprecator.ScilpyExpiredDeprecation'>
=========================================================================================================
Layered keys of the dictionary:
['sub-001_ses-1']
['bundle-10', 'bundle-11', 'bundle-12', 'bundle-13', 'bundle-14', 'bundle-15', 'bundle-16', 'bundle-17', 'bundle-18', 'bundle-19', 'bundle-1', 'bundle-20', 'bundle-2', 'bundle-3', 'bundle-4', 'bundle-5', 'bundle-6', 'bundle-7', 'bundle-8', 'bundle-9']
['min_length_mm', 'mean_length_mm', 'max_length_mm', 'std_length_mm', 'min_length_nb_points', 'mean_length_nb_points', 'max_length_nb_points', 'std_length_nb_points', 'min_step_size', 'mean_step_size', 'max_step_size', 'std_step_size', 'data_per_point_keys', 'data_per_streamline_keys']
sys:1: DeprecationWarning:
=========================================================================================================
!!! WARNING !!! THIS SCRIPT IS DEPRECATED !!!
=========================================================================================================
sys:1: DeprecationWarning:
=========================================================================================================
This script has been renamed scil_json_convert_entries_to_xlsx.py.
Please change your existing pipelines accordingly.
AS OF VERSION 1.9, CALLING THIS SCRIPT WILL RAISE <class 'scilpy.io.deprecator.ScilpyExpiredDeprecation'>
=========================================================================================================
Traceback (most recent call last):
File "/home/local/USHERBROOKE/here2602/.local/bin/scil_convert_json_to_xlsx.py", line 33, in <module>
sys.exit(load_entry_point('scilpy', 'console_scripts', 'scil_convert_json_to_xlsx.py')())
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scilpy/io/deprecator.py", line 93, in _wrapper
return _raise_warning(_block(header, msg_length),
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scilpy/io/deprecator.py", line 54, in _raise_warning
return func(*args, **kwargs)
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/legacy/scil_convert_json_to_xlsx.py", line 17, in main
new_main()
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/scil_json_convert_entries_to_xlsx.py", line 484, in main
_create_xlsx_from_json(args.in_json, args.out_xlsx,
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/scil_json_convert_entries_to_xlsx.py", line 439, in _create_xlsx_from_json
cur_stats_func = _get_stats_parse_function(stats, stats_over_population)
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/scil_json_convert_entries_to_xlsx.py", line 99, in _get_stats_parse_function
raise IOError('Unable to recognize stats type!')
OSError: Unable to recognize stats type!
Work dir:
/home/local/USHERBROOKE/here2602/SCIL/phantom_inferno/experiments/test/work/a5/fe9b044732c234c03449a5ebc7fe23
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
For what I understood the scripts
-> scil_merge_json.py
-> scil_harmonize_json.py
-> scil_convert_json_to_xlsx.py
changed for
-> scil_json_merge_entries.py
-> scil_json_harmonize_entries.py
-> scil_json_convert_entries_to_xlsx.py
However, once I change the script names in the source code, I get this error with the stats type:
Error executing process > 'Aggregate_All_Bundle_Length_Stats (Statistics)'
Caused by:
Process `Aggregate_All_Bundle_Length_Stats (Statistics)` terminated with an error exit status (1)
Command executed:
scil_json_merge_entries.py sub-001_ses-1__length_stats.json length_stats.json --no_list
scil_json_harmonize_entries.py length_stats.json length_stats.json -f -v --sort_keys
scil_json_convert_entries_to_xlsx.py length_stats.json length_stats.xlsx
Command exit status:
1
Command output:
Layered keys of the dictionary:
['sub-001_ses-1']
['bundle-10', 'bundle-11', 'bundle-12', 'bundle-13', 'bundle-14', 'bundle-15', 'bundle-16', 'bundle-17', 'bundle-18', 'bundle-19', 'bundle-1', 'bundle-20', 'bundle-2', 'bundle-3', 'bundle-4', 'bundle-5', 'bundle-6', 'bundle-7', 'bundle-8', 'bundle-9']
['min_length_mm', 'mean_length_mm', 'max_length_mm', 'std_length_mm', 'min_length_nb_points', 'mean_length_nb_points', 'max_length_nb_points', 'std_length_nb_points', 'min_step_size', 'mean_step_size', 'max_step_size', 'std_step_size', 'data_per_point_keys', 'data_per_streamline_keys']
Command error:
Layered keys of the dictionary:
['sub-001_ses-1']
['bundle-10', 'bundle-11', 'bundle-12', 'bundle-13', 'bundle-14', 'bundle-15', 'bundle-16', 'bundle-17', 'bundle-18', 'bundle-19', 'bundle-1', 'bundle-20', 'bundle-2', 'bundle-3', 'bundle-4', 'bundle-5', 'bundle-6', 'bundle-7', 'bundle-8', 'bundle-9']
['min_length_mm', 'mean_length_mm', 'max_length_mm', 'std_length_mm', 'min_length_nb_points', 'mean_length_nb_points', 'max_length_nb_points', 'std_length_nb_points', 'min_step_size', 'mean_step_size', 'max_step_size', 'std_step_size', 'data_per_point_keys', 'data_per_streamline_keys']
Traceback (most recent call last):
File "/home/local/USHERBROOKE/here2602/.local/bin/scil_json_convert_entries_to_xlsx.py", line 33, in <module>
sys.exit(load_entry_point('scilpy', 'console_scripts', 'scil_json_convert_entries_to_xlsx.py')())
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/scil_json_convert_entries_to_xlsx.py", line 484, in main
_create_xlsx_from_json(args.in_json, args.out_xlsx,
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/scil_json_convert_entries_to_xlsx.py", line 439, in _create_xlsx_from_json
cur_stats_func = _get_stats_parse_function(stats, stats_over_population)
File "/home/local/USHERBROOKE/here2602/SCIL/scilpy/scripts/scil_json_convert_entries_to_xlsx.py", line 99, in _get_stats_parse_function
raise IOError('Unable to recognize stats type!')
OSError: Unable to recognize stats type!
Work dir:
/home/local/USHERBROOKE/here2602/SCIL/phantom_inferno/experiments/test/work/60/ec8e3d38ced6692880f82862e75fac
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
The text was updated successfully, but these errors were encountered:
I'm using the lastest scilpy and tractometry_flow master.
I got the following error trace:
For what I understood the scripts
-> scil_merge_json.py
-> scil_harmonize_json.py
-> scil_convert_json_to_xlsx.py
changed for
-> scil_json_merge_entries.py
-> scil_json_harmonize_entries.py
-> scil_json_convert_entries_to_xlsx.py
However, once I change the script names in the source code, I get this error with the stats type:
The text was updated successfully, but these errors were encountered: