-
Notifications
You must be signed in to change notification settings - Fork 222
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
Added new API support for nextgen Materials Project #692
base: master
Are you sure you want to change the base?
Conversation
* update tensorboard logdir in tutorials 2 and 3 and formatting in 5 * minor tutorial fixes
* [bug/qm7x_groupsplit] Adding GroupSplit to the exported names for splitting.py bc it was missing and causing import errors in qm7x dataset * [bug/qm7x_groupsplit] Fixing black fmt error
* update tensorboard logdir in tutorials 2 and 3 and formatting in 5 * minor tutorial fixes * import GroupSplit for QM7X * add progressbar dependency * add progressbar dependency * add qm7x data config file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I added some minor remarks
builder.docx
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is changed in this notebook? Is it on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, It was not mine
@@ -103,12 +105,20 @@ def __init__( | |||
distance_unit=distance_unit, | |||
**kwargs, | |||
) | |||
if len(apikey) != 16: | |||
"""if len(apikey) != 16: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be removed
@@ -120,6 +130,8 @@ def prepare_data(self): | |||
MaterialsProject.EPerAtom: "eV", | |||
MaterialsProject.BandGap: "eV", | |||
MaterialsProject.TotalMagnetization: "None", | |||
MaterialsProject.MaterialId: "None", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding this to property unit dict is not needed, because we store the metadata in the key_value_pairs
and not in data
. So these 2 lines can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initiallly, when I was getting some key error on material_id which resolved by doing this. let me test again after removing this. Then I will update
MaterialsProject.BandGap: q.band_gap, | ||
} | ||
) | ||
# todo: use key-value-pairs or not? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
) | ||
|
||
for q in query: | ||
# if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
) | ||
|
||
with MPRester(self.apikey) as m: | ||
# for N in range(1, 9): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
g the commit merge master into sa/bugfixes
No description provided.