Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Carlos GO
RNAmigos_server
Commits
1a54e71b
Commit
1a54e71b
authored
Jun 16, 2020
by
Carlos GO
Browse files
svg remove
parent
bf03c0d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
fp2lig.py
View file @
1a54e71b
...
...
@@ -44,6 +44,7 @@ def draw(smiles):
drawer
.
FinishDrawing
()
svg
=
drawer
.
GetDrawingText
()
svg
=
svg
.
replace
(
':svg'
,
''
)
svg
=
svg
.
replace
(
'svg:'
,
''
)
savepath
=
os
.
path
.
join
(
"static"
,
"mol_drawings"
,
f
"
{
smiles_hash
}
.svg"
)
# Draw.MolToFile( mc, savepath )
# for line in svg_file:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment