Skip to content

Instantly share code, notes, and snippets.

View aiche's full-sized avatar

Stephan Aiche aiche

  • Berlin, Germany
View GitHub Profile
@aiche
aiche / gist:a6bed163b78ab49af00c
Last active August 29, 2015 14:04
GlobalExceptionHandler thread safeness patch
diff --git a/src/openms/source/CONCEPT/GlobalExceptionHandler.cpp b/src/openms/source/CONCEPT/GlobalExceptionHandler.cpp
index f06068f..11deb51 100644
--- a/src/openms/source/CONCEPT/GlobalExceptionHandler.cpp
+++ b/src/openms/source/CONCEPT/GlobalExceptionHandler.cpp
@@ -112,35 +112,55 @@ namespace OpenMS
void GlobalExceptionHandler::set(const std::string & file, int line, const std::string & function, const std::string & name, const std::string & message) throw()
{
- GlobalExceptionHandler::name_() = name;
- GlobalExceptionHandler::line_() = line;
@aiche
aiche / convert.toppas
Created February 19, 2014 13:26
TOPPAS unknown file extension pipeline
<?xml version="1.0" encoding="ISO-8859-1"?>
<PARAMETERS version="1.6.2" xsi:noNamespaceSchemaLocation="http://open-ms.sourceforge.net/schemas/Param_1_6_2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NODE name="info" description="">
<ITEM name="version" value="1.12.0" type="string" description="" required="false" advanced="false" />
<ITEM name="num_vertices" value="3" type="int" description="" required="false" advanced="false" />
<ITEM name="num_edges" value="2" type="int" description="" required="false" advanced="false" />
<ITEM name="description" value="&lt;![CDATA[]]&gt;" type="string" description="" required="false" advanced="false" />
</NODE>
<NODE name="vertices" description="">
<NODE name="0" description="">
1/1 Test #1: test_pyopenms_unittests ..........***Failed 0.85 sec
determination of memory status not supported on this
platform, mesauring for memoryleaks will never fail
EEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: Failure: ImportError (dlopen(/Users/aiche/dev/openms/OpenMS/build/pyopenms/pyOpenMS/pyopenms/pyopenms.so, 2): Symbol not found: __ZN6OpenMS10CVMappings15setCVReferencesERKSt6vectorINS_11CVReferenceESaIS2_EE
Referenced from: /Users/aiche/dev/openms/OpenMS/build/pyopenms/pyOpenMS/pyopenms/pyopenms.so
Expected in: flat namespace
in /Users/aiche/dev/openms/OpenMS/build/pyopenms/pyOpenMS/pyopenms/pyopenms.so)
----------------------------------------------------------------------