This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Chemical data about a molecule. | |
Molecules are defined by SMILES strings. Can work out logP values, Lipinski's | |
rules, etc... | |
Uses rdkit | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daemon off; | |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:zegami_uwsgi] | |
;the socket directive is the unix socket which supervisor uses to communicate with nginx | |
command=/opt/zegami_python/anaconda/bin/uwsgi | |
--uid=zegami | |
--gid=zegami | |
--chdir=/opt/zegami | |
--manage-script-name | |
--mount=/zegami=dzapi.app.application:app | |
--socket=/tmp/zegami-uwsgi.sock | |
--chmod-socket=666 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.etree.ElementTree as ET | |
import sys | |
# Main | |
def process(stream, prefix) : | |
items = [] |