Skip to content

Unable to generate figure  #9

@sajjadasaf

Description

@sajjadasaf

I am facing the following error. Need your guidance

sajjad@sajjad-ThinkStation-P910:~/Downloads$ croissance --figures hhh.tsv
2022-11-28 09:39:48 croissance INFO Reading curves from 'hhh.tsv
2022-11-28 09:39:48 croissance INFO Collected a total of 8 growth curves
2022-11-28 09:39:48 croissance INFO Annotating growth curves using 1 threads
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '0':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '600':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '1200':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '1800':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '2400':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '3000':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '3600':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance ERROR Unhandled exception while annotating '4200':
2022-11-28 09:39:48 croissance ERROR Traceback (most recent call last):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/main.py", line 44, in call
2022-11-28 09:39:48 croissance ERROR name=name,
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 125, in estimate_growth
2022-11-28 09:39:48 croissance ERROR for phase in _find_growth_phases(smooth_series, window=n_hours):
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/init.py", line 186, in _find_growth_phases
2022-11-28 09:39:48 croissance ERROR first_derivative = savitzky_golay(curve, window, 3, deriv=1)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/anaconda3/lib/python3.7/site-packages/croissance/estimation/util.py", line 15, in savitzky_golay
2022-11-28 09:39:48 croissance ERROR index=series.index, data=savgol_filter(series.values, *args, **kwargs)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter
2022-11-28 09:39:48 croissance ERROR coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)
2022-11-28 09:39:48 croissance ERROR File "/home/sajjad/.local/lib/python3.7/site-packages/scipy/signal/_savitzky_golay.py", line 97, in savgol_coeffs
2022-11-28 09:39:48 croissance ERROR raise ValueError("polyorder must be less than window_length.")
2022-11-28 09:39:48 croissance ERROR ValueError: polyorder must be less than window_length.
2022-11-28 09:39:48 croissance INFO Writing annotated curves to 'hhh.output.tsv'
2022-11-28 09:39:48 croissance INFO Writing PDFs to 'hhh.output.pdf'
2022-11-28 09:39:48 croissance INFO Done ..

input1.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions