BojarLab / glycowork

Package for processing and analyzing glycans and their role in biology.
https://Bojarlab.github.io/glycowork
MIT License
56 stars 11 forks source link

GlycoDraw now checks for file extensions only #44

Closed Old-Shatterhand closed 4 months ago

Old-Shatterhand commented 4 months ago

On dev, GlycoDraw checks if "svg" or "pdf" are present in the filepath. Therefore, GlycoDraw(..., filepath=/path/to/svg_data/glcan.pdf) would have resulted in drawing as SVG. Now, GlycoDraw checks only the file extension to be ".pdf" or ".svg".