-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
deprotonate=False not working? #374
Comments
Hi @l-Dr-MR-l thanks for finding this. It appears the argument was not wired up. I've made a PR; would you be able to test it out & see if it resolves your issue? #375 |
Re docs, yes they're a little out of date at this point. I've been meaning to get around to updating them. Is the error with |
* wire up deprotonate arg #374 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update test * fix test typo * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix test * update changelog --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Hi @a-r-j , I've run and then ran my code again, unfortunately it seems to still deprotonate despite being set to False.
terminal output:
|
Hi, yes. I've not pushed a new version to PyPI yet (will be doing so today) as there were a few other PRs I was hoping to squeeze in. You can try the change if you pip install from the github repository though |
Cheers that worked, it is now corrently following the deprotonate argument. |
Hi, I'm probably not understanding something correctly but I'm setting deprotonate to False and still get deprotonation happening:
and run using:
graph_list.append(construct_graph(config=self.graphein_config, path=file_path))
output:
if I'm reading this correctly it is applied out of this graphs.py, where I see deprotonate's default value is true so I'm not assigning it properly somehow?
I've also tried simply copying and running the code in https://graphein.ai/notebooks/atom_graph_tutorial.html to see if deprotonation=False works there.
But I get a TypeError: construct_graph() got an unexpected keyword argument 'pdb_code'
Is the documentation site out of date?
The text was updated successfully, but these errors were encountered: