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
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.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