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

a data shifting bug in your data for MOF_data.. #1

Open
usccolumbia opened this issue Jun 25, 2021 · 3 comments
Open

a data shifting bug in your data for MOF_data.. #1

usccolumbia opened this issue Jun 25, 2021 · 3 comments

Comments

@usccolumbia
Copy link

I tried to run your experiments on the MOF data and it reports an error, which is caused by the headline of the bandgap file
in ./data/MOF_data/qmof_database/opt-bandgaps.csv
it shows the bandgap of
refcode,BG_PBE,CBM_PBE,VBM_PBE,Direct_PBE
ABACUF01_FSR,0.635073,1.244977,0.609904,False
ABAFUH_FSR,2.1930389999999997,3.759203,1.566164,False
ABALOF_FSR,1.134232,3.43044,2.296208,False
ABAVIJ_FSR,0.345448,1.09114,0.745692,False
ABAVOP_FSR,0.342645,1.308492,0.965847,True

However, in your generated targets.csv file:
ABACUF01_FSR,BG_PBE
ABAFUH_FSR,0.635073
ABALOF_FSR,2.1930389999999997
ABAVIJ_FSR,1.134232
ABAVOP_FSR,0.345448

all bandgaps values in targets.csv are wrong....! shifted by one value.

does this mean your result in the paper is wrong?

@usccolumbia
Copy link
Author

usccolumbia commented Jun 25, 2021

just need to change the data/MOF_data/process.py file line
targets.append([str(refcodes[i]), properties[i+1,1]])

@vxfung
Copy link
Collaborator

vxfung commented Jun 25, 2021

looks like a bug with the script to get MOF data, and what you suggest looks right to me; thanks for pointing this out. these do not affect the results in the paper, which predate the scripts.

@usccolumbia
Copy link
Author

usccolumbia commented Jun 25, 2021 via email

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

2 participants