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 | |
# -*- coding: utf-8 -*- | |
""" Save versioned backups of collections in MongoDB. Quick and dirty. """ | |
import datetime | |
import shutil | |
import os | |
import subprocess | |
import zipfile |
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
/********************************************************************** | |
Copyright (c) 2013 by Matt Swain <[email protected]> | |
The MIT License | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
diff --git a/INCHI_API/gcc_so_makefile/libinchi.map b/INCHI_API/gcc_so_makefile/libinchi.map | |
index 0526992..0f768c8 100755 | |
--- a/INCHI_API/gcc_so_makefile/libinchi.map | |
+++ b/INCHI_API/gcc_so_makefile/libinchi.map | |
@@ -1,5 +1,32 @@ | |
-{ | |
-global: CheckINCHI; CheckINCHIKey; FreeINCHI; FreeStdINCHI; FreeStructFromINCHI; FreeStructFromStdINCHI; Free_inchi_Input; Free_std_inchi_Input; GetINCHI; GetINCHIKeyFromINCHI; GetINCHIfromINCHI; GetStdINCHI; GetStdINCHIKeyFromStdINCHI; GetStringLength; GetStructFromINCHI; GetStructFromStdINCHI; Get_inchi_Input_FromAuxInfo; Get_std_inchi_Input_FromAuxInfo; INCHIGEN_Create; INCHIGEN_Destroy; INCHIGEN_DoCanonicalization; INCHIGEN_DoNormalization; INCHIGEN_DoSerialization; INCHIGEN_Reset; INCHIGEN_Setup; STDINCHIGEN_Create; STDINCHIGEN_Destroy; STDINCHIGEN_DoCanonicalization; STDINCHIGEN_DoNormalization; STDINCHIGEN_DoSerialization; STDINCHIGEN_Reset; STDINCHIGEN_Setup; | |
-local: *; | |
-}; | |
- |
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
diff --git a/src/Makefile.in b/src/Makefile.in | |
index bf4181f..883fec2 | |
--- a/src/Makefile.in | |
+++ b/src/Makefile.in | |
@@ -10,7 +10,7 @@ PROGRAM = gocr$(EXEEXT) | |
PGMASCLIB = Pgm2asc | |
#LIBPGMASCLIB = lib$(PGMASCLIB).a | |
# ToDo: need a better pgm2asc.h for lib users | |
-#INCLUDEFILES = gocr.h | |
+INCLUDEFILES = pgm2asc.h output.h list.h unicode.h gocr.h pnm.h |
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
diff --git a/src/parsmart.cpp b/src/parsmart.cpp | |
index 120963e..22fe56e 100644 | |
--- a/src/parsmart.cpp | |
+++ b/src/parsmart.cpp | |
@@ -1181,7 +1181,6 @@ namespace OpenBabel | |
FreeAtomExpr(expr1); | |
return (AtomExpr*)0; | |
} | |
- delete expr1; | |
expr1 = BuildAtomBin(AE_ANDLO,expr1,expr2); |
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
diff --git a/Code/RDGeneral/Dict.h b/Code/RDGeneral/Dict.h | |
index 6d368a4..6f586a8 100644 | |
--- a/Code/RDGeneral/Dict.h | |
+++ b/Code/RDGeneral/Dict.h | |
@@ -32,14 +32,12 @@ | |
//! | |
class Dict { | |
public: | |
- typedef std::map<const std::string, boost::any> DataType; | |
+ typedef std::map<std::string, boost::any> DataType; |
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
diff --git a/character_r11.cc b/character_r11.cc | |
index 9b054e1..794e9c0 100644 | |
--- a/character_r11.cc | |
+++ b/character_r11.cc | |
@@ -18,6 +18,7 @@ | |
#include <algorithm> | |
#include <cstdio> | |
+#include <cstdlib> | |
#include <vector> |
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 | |
# -*- coding: utf-8 -*- | |
import copy | |
from itertools import tee, izip | |
import logging | |
from rdkit import Chem | |
from rdkit.Chem.rdchem import BondType, BondStereo, BondDir | |
__author__ = 'Matt Swain' |
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
-- Parse booking confirmation emails from Cinema and add Calendar event | |
-- Author: Matt Swain <[email protected]>, Version 1.0, License: MIT | |
-- Triggered by Mail rule. | |
using terms from application "Mail" | |
on perform mail action with messages msgs for rule theRule | |
tell application "Mail" | |
repeat with msg in msgs | |
try | |
set msgcontent to content of msg |
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
diff --git a/include/iwaray.h b/include/iwaray.h | |
index 1b58e95..213f25a 100644 | |
--- a/include/iwaray.h | |
+++ b/include/iwaray.h | |
@@ -341,7 +341,7 @@ resizable_array_p<T>::resizable_array_p (int n) | |
template <typename T> | |
resizable_array_p<T>::resizable_array_p (T * item) | |
{ | |
- add (item); | |
+ this->add (item); |
OlderNewer