RMG-website icon indicating copy to clipboard operation
RMG-website copied to clipboard

cannot render large molecules

Open KEHANG opened this issue 8 years ago • 1 comments

Seems large molecules (e.g., CCCCCCCCCCCC[C]1C=CC=CC1CCCCCCCCCCC) still cannot be rendered in molecule search. image

KEHANG avatar Oct 30 '16 18:10 KEHANG

I think this is actually another instance of apache having problems with long urls. According to various online sources, the hard limit seems to be ~8000 char, when the response will be URI too long, but there seems to be a limit around ~4000 char when the response will be a 404 error (like in this case).

I think we may need to go back to doing manual processing of adjlists for urls. Standard url quoting adds too many characters. While switching to a different identifier like InChI may be a good long term goal, adjacency lists are still the safest in terms of always getting the same molecule.

mliu49 avatar Oct 31 '16 19:10 mliu49