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

Update NaToxAq #49

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@tsufz
Copy link
Member

tsufz commented Feb 28, 2019

No description provided.

tsufz added some commits Feb 28, 2019

@meier-rene

This comment has been minimized.

Copy link
Collaborator

meier-rene commented Mar 1, 2019

Hi, the validator rejects '~' characters in CH$NAME, e.g. '(1~{S},2~{R},9~{S},10~{S})-7,15-diazatetracyclo[7.7.1.0^{2,7}.0^{10,15}]heptadecane'. Is there a reason for having '(1~{S},2~{R},9~{S},10~{S})' vs '(1S,2R,9S,10S)'?

@schymane

This comment has been minimized.

Copy link
Member

schymane commented Mar 1, 2019

@meier-rene

This comment has been minimized.

Copy link
Collaborator

meier-rene commented Mar 1, 2019

You are right. These characters are from conversions of formatted text to plain text. I have seen a lot of these things and other funny stuff and I have already fixed plenty of this. One of my favorites is the ® sign. For now the validator flags all characters which do not belong to the name of a chemical compound to my knowledge. Thats why I was asking if someone knows a rule were the '~' is needed. I would rather not implement automatic conversions here, because automatic conversions of leftovers from automatic conversions will probably create other problems.

In this case I will remove these conversion leftovers with some command line magic and we will see if other issues remain. @tsufz please take no action atm.

@meier-rene meier-rene closed this Mar 1, 2019

@meier-rene meier-rene reopened this Mar 1, 2019

@tsufz

This comment has been minimized.

Copy link
Member Author

tsufz commented Mar 1, 2019

Okay, I am not keen to re-process everything again. This is quite tedious with all the different energies...

@schymane

This comment has been minimized.

Copy link
Member

schymane commented Mar 1, 2019

@tsufz

This comment has been minimized.

Copy link
Member Author

tsufz commented Mar 1, 2019

@schymane, I fully agree. I was going to remove / edit those names. But @meier-rene asked me to take no action so far...

@schymane

This comment has been minimized.

Copy link
Member

schymane commented Mar 1, 2019

@meier-rene

This comment has been minimized.

Copy link
Collaborator

meier-rene commented Mar 1, 2019

@tsufz doing this string manipulation just took 10min. Nothing to worry about. This PR was merged slightly changed as PR #50. Thanks all!

@meier-rene meier-rene closed this Mar 1, 2019

@schymane

This comment has been minimized.

Copy link
Member

schymane commented Mar 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.