Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box-and-whiskers cannot plot without outlier #6

Open
angsm opened this issue Apr 21, 2020 · 0 comments
Open

Box-and-whiskers cannot plot without outlier #6

angsm opened this issue Apr 21, 2020 · 0 comments

Comments

@angsm
Copy link

angsm commented Apr 21, 2020

Hi ChronQC,

Error of
File "/home/polarisbioit/miniconda3/bin/chronqc", line 11, in <module> load_entry_point('chronqc', 'console_scripts', 'chronqc')() File "/mnt/projects/polarisbioit/POLARIS.PIPELINE/POLARIS_PD_v2.5/STATSPLOT/v6.2/Scripts/ChronQC_plots_wConf/ChronQC-master/chronqc/chronqc.py", line 152, in main args.func(args) File "/mnt/projects/polarisbioit/POLARIS.PIPELINE/POLARIS_PD_v2.5/STATSPLOT/v6.2/Scripts/ChronQC_plots_wConf/ChronQC-master/chronqc/chronqc.py", line 19, in run_plot chronqc_plot.main(args) File "/mnt/projects/polarisbioit/POLARIS.PIPELINE/POLARIS_PD_v2.5/STATSPLOT/v6.2/Scripts/ChronQC_plots_wConf/ChronQC-master/chronqc/chronqc_plot.py", line 700, in main df_chart = box_whisker_plot(df, column_name, lower_threshold=lower_threshold, upper_threshold=upper_threshold) File "/mnt/projects/polarisbioit/POLARIS.PIPELINE/POLARIS_PD_v2.5/STATSPLOT/v6.2/Scripts/ChronQC_plots_wConf/ChronQC-master/chronqc/chronqc_plot.py", line 318, in box_whisker_plot outlier_df = pd.DataFrame(df_bp['outliers'].apply(pd.Series).stack()) File "/home/polarisbioit/miniconda3/lib/python3.6/site-packages/pandas/core/frame.py", line 6238, in stack return stack(self, level, dropna=dropna) File "/home/polarisbioit/miniconda3/lib/python3.6/site-packages/pandas/core/reshape/reshape.py", line 542, in stack dtype = dtypes[0] IndexError: list index out of range

appear when trying to plot box and whiskers if current data does not already have an obvious outlier value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant