70fc0bac9020011bf3f9b6386692d0e88e555a4f,atlas/report/qc_report.py,,main,#Any#Any#Any#Any#Any#,123

Before Change


    // N reads / N bases
    df = pd.read_table(read_counts, index_col=[0, 1])
    for variable in ["Total_Reads","Total_Bases"]:
        data = df[variable].unstack()[df.loc[df.index[0][0]].index.drop("clean")]
        div[variable] = offline.plot(
                data.iplot(
                    asFigure=True,

After Change



        data = df[variable].unstack()[df.loc[df.index[0][0]].index]

        if "clean" in data.columns:
            data.drop("clean",axis=1,inplace=True)

        div[variable] = offline.plot(
                data.iplot(
                    asFigure=True,
                    kind="bar",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: metagenome-atlas/atlas
Commit Name: 70fc0bac9020011bf3f9b6386692d0e88e555a4f
Time: 2019-03-18
Author: silas.kieser@gmail.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: main


Project Name: metagenome-atlas/atlas
Commit Name: 8799a9e06992beb7a2bd9515cd6dd40282492d45
Time: 2019-03-19
Author: SilasK@users.noreply.github.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: main


Project Name: dPys/PyNets
Commit Name: d640ef349b8a52eed57cd3ab3e887f97b4c07062
Time: 2020-11-02
Author: dpisner@utexas.edu
File Name: pynets/cli/pynets_collect.py
Class Name:
Method Name: df_concat