-
Add SP to
authsources.php'default-sp' => array( 'saml:SP', 'entityID' => 'https://svwiki.cloudapp.net', 'discoURL' => NULL, 'privatekey' => 'saml.pem',
'certificate' => 'saml.crt',
| github3.py==1.0.0a4 | |
| click==6.7 |
| license: apache-2.0 | |
| height: 1000 |
| import pandas as pd | |
| from kripodb.canned import fragments_by_id | |
| # Requires as input table with columns | |
| # hit_frag_id, query_frag_id and score | |
| # Returns id and molblock of query and hit | |
| # and protein name of hit. | |
| # Location of fragment database | |
| fragments_db_filename = '/data/kripo/tiny/fragments.sqlite' |
| import modifiedtanimoto.db as db | |
| import modifiedtanimoto.algorithm as algorithm | |
| frags = db.FragmentsDb('data/fragments12.db') | |
| bss =frags.bitsets() | |
| z = bss['5fl6_Y0R_frag10'] | |
| bitsets2 = {'5fl6_Y0R_frag1':bss['5fl6_Y0R_frag1']} | |
| myiter = algorithm.distances(bss, bitsets2, 574331, 0.6633333333333333, 0.33666666666666667, 0.55, True) | |
| for r in myiter: |
| /* | |
| * Copyright 2013 Netherlands eScience Center | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #!/bin/env python | |
| import csv | |
| nemo = {'lat': 52.374253,'lon': 4.911687} | |
| nakko = {'lat':52.330797,'lon':4.966013} | |
| with open('in.csv', 'rb') as csvin: | |
| with open('out.csv', 'wb') as csvout: | |
| reader = csv.reader(csvin) |
| #!/bin/sh | |
| # hostname = cartodb.e-ecology.cloudlet.sara.nl | |
| # user = verhoes = verhoes.cartodb.e-ecology.cloudlet.sara.nl | |
| apt-get update | |
| apt-get upgrade -y | |
| echo 'cartodb.e-ecology.cloudlet.sara.nl' > /etc/hostname | |
| # reboot |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <body> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| <script> | |
| var w = 50; | |
| var h = 200; | |
| var svg = d3.select("body").append('svg') |