Closed sneumann closed 1 year ago
Hi, convertFormat("SMI","inchikey","CC(=O)OC1=CC=CC=C1C(=O)O") will give me "BSYNRYMUTXBXSQ-UHFFFAOYSA-N\n", so when using the result I'll have to strip off the \n. Formatting should be handled by the user of the result. Yours, Steffen
convertFormat("SMI","inchikey","CC(=O)OC1=CC=CC=C1C(=O)O")
"BSYNRYMUTXBXSQ-UHFFFAOYSA-N\n"
\n
sub("\n","", convertFormat(...)) is your friend :-)
sub("\n","", convertFormat(...))
Hi,
convertFormat("SMI","inchikey","CC(=O)OC1=CC=CC=C1C(=O)O")
will give me"BSYNRYMUTXBXSQ-UHFFFAOYSA-N\n"
, so when using the result I'll have to strip off the\n
. Formatting should be handled by the user of the result. Yours, Steffen