Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import sys
from autots import Molecule
from autots import Mutation
from autots import connect
if __name__=="__main__":
input_filename = sys.argv[1]
input_mutation = sys.argv[2]
mol = Molecule(input_filename)
mut = Mutation(input_mutation)
output = connect(mol, [mut], mol.bonds[:1])
print output