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 from
Closed

Update NaToxAq #49

wants to merge 2 commits into from

Conversation

tsufz
Copy link
Member

@tsufz tsufz commented Feb 28, 2019

No description provided.

@meier-rene
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
Copy link
Member

schymane commented Mar 1, 2019 via email

@meier-rene
Copy link
Collaborator

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
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
Copy link
Member

schymane commented Mar 1, 2019 via email

@tsufz
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
Copy link
Member

schymane commented Mar 1, 2019 via email

@meier-rene
Copy link
Collaborator

@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
Copy link
Member

schymane commented Mar 1, 2019 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

Successfully merging this pull request may close these issues.

None yet

3 participants