All these three processors work smoothly and provided desired outputs except for
-ms4alg.create_label_map
which gave me the error as stated in the title of this issue. I'm suggestion is that perhaps the processor couldn't read the json file but I'm not sure. Below is my bash script:
[ Getting processor spec... ]
[ Checking inputs and substituting prvs ... ]
[ Computing process signature ... ]
(node:24968) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'original_checksum' of undefined
at /home/tousin/miniconda3/envs/mountainlab/lib/node_modules/mountainlab/mlproc/prv_utils.js:202:24
at /home/tousin/miniconda3/envs/mountainlab/lib/node_modules/mountainlab/mlproc/prv_utils.js:192:7
at processTicksAndRejections (internal/process/next_tick.js:81:5)
(node:24968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:24968) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I've even tried output from uncombine metric clusters of ephys and isolation seperately but same error pops up. Also I tried output from m3.cluster_metrics, nothing.
First, I am grateful for you guys sharing your product even at its early stages. Now for my question:
I am trying to run the curation program but I'll need the cluster metrics running smoothly so I did the following as discussed in Issues #210.
-run ephys.compute_cluter_metrics -run ms3.isolation_metrics -run ms3.combine_cluster_metrics
All these three processors work smoothly and provided desired outputs except for
-ms4alg.create_label_map
which gave me the error as stated in the title of this issue. I'm suggestion is that perhaps the processor couldn't read the json file but I'm not sure. Below is my bash script:
Compute cluster metrics
ml-run-process ephys.compute_cluster_metrics \ --inputs firings:Hunter_output2/firings.mda timeseries:Hunter_output2/pre.mda \ --outputs metrics_out:Hunter_output2/ephys_cluster_metrics.json \ --parameters samplerate:24414 clip_size:150 refrac_msec:1
computing isolation metrics
ml-run-process ms3.isolation_metrics \ --inputs timeseries:Hunter_output2/pre.mda firings:Hunter_output2/firings.mda \ --outputs metrics_out:Hunter_output2/isolation_metrics.json \ pair_metrics_out:Hunter_output2/pair_metrics_out.json \ --parameters compute_bursting_parents:true
combine metrics
ml-run-process ms3.combine_cluster_metrics \ --inputs metrics_list:Hunter_output2/cluster_metrics.json \ metrics_list:Hunter_output2/isolation_metrics.json \ --outputs metrics_out:Hunter_output2/combine_metrics_new.json
create metrics
ml-run-process ms4alg.create_label_map \ --inputs metrics: Hunter_output2/isolation_metrics.json \ --outputs label_map_out: Hunter_output2/metrics_label_map_out.json \ --parameters \ firing _rate_thresh:0.05 \ isolation_thresh: 0.95 \ noise_overlap_thresh:0.03 \ peak_snr_thresh:1.5
This is the error has stated:
[ Getting processor spec... ] [ Checking inputs and substituting prvs ... ] [ Computing process signature ... ] (node:24968) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'original_checksum' of undefined at /home/tousin/miniconda3/envs/mountainlab/lib/node_modules/mountainlab/mlproc/prv_utils.js:202:24 at /home/tousin/miniconda3/envs/mountainlab/lib/node_modules/mountainlab/mlproc/prv_utils.js:192:7 at processTicksAndRejections (internal/process/next_tick.js:81:5) (node:24968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:24968) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I've even tried output from uncombine metric clusters of ephys and isolation seperately but same error pops up. Also I tried output from m3.cluster_metrics, nothing.
Thanks, Tousin