Skip to content

Descriptor columns are not correct #4

Description

@VasylVaskivskyi

I saved pySAR 2.5.1 descriptors to csv but when I read them back the column names are incorrect for many of the descriptors. Please check the attached json file. I tried also with export=True, but I was receiving error that there is no such function argument.

from pySAR.descriptors import Descriptors
desc = Descriptors(config_file=config_path)
all_desc = desc.get_all_descriptors()
all_desc.to_csv("prot_descriptors.csv")

encoding = Encoding(config_file=config_path)
desc_results_df = encoding.descriptor_encoding()
encoding.descriptor.moreaubroto_autocorrelation.columns

descriptor_cols_incorrect.json

I also tried using the protPy to compute all the descriptors and saved the results and column names after computation. So in the end I had these column names. And the results seem to be correct.
descriptor_cols_correct.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions