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
Script to extract ion names from CCD #62
Comments
Is this still a good first issue? |
Yes it is! |
I noticed there is a I also noticed the current hardcoded IonNames have a comment above on how to extract all ions:
Lastly, I am able to run |
HI @McMenemy, if you reuse const ccd = await readCCD();
for (const k in ccd) {
const { chem_comp } = ccd[k];
if (chem_comp.name.value(0).toUpperCase().includes(' ION')) {
// found ion, write out `chem_comp.id.value(0)`
}
} |
Should this issue get closed now? |
Should extend the existing cli/chem-comp-bonds/ script (renamed to chem-comp). Data should go to src\mol-model\structure\model\types\ions.ts. Include all chemical components with the word "ion" in their name. Will replace IonNames in src\mol-model\structure\model\types.ts.
Related: #63
The text was updated successfully, but these errors were encountered: