Skip to content

Instantly share code, notes, and snippets.

View danlamanna's full-sized avatar
🏠
Working from home

Dan LaManna danlamanna

🏠
Working from home
View GitHub Profile

XDATA Biweekly

<2015-11-16 Mon 11:00-12:00>

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3CYmvPaeuw93YEaMDjcW1D4SceMPiNujNJm7A+KoWIVIRNhoXOZ3KE9H1ofNo7HdFh7L2I+Ep4pTLxckyBY/CGHzKXxcZFX3oBVLyBKFlbVANucHTzKqJ3rH1fLsg6wpoOxqhYdE7RCzX4xWR+0Y4Ek9yWGovsbTNYWPWB0flJbWNqeDV5WG0OQ28lpoNz//0VXLGHnSbyhERl0L4wKIkTY+T6D7mRJU6X0lyia3664Oo6jlLj9nyVOCWT+SJbDyGKmq0dt7StS1Hm0XgwA7G1FTPNoHwuEzUi5IYcfftMpLHYhy/tHPY0nT7QeAn5omdKrRXS/goAPvTuIM4l5bJ dan.lamanna@genii
{
"cells": [
{
"cell_type": "code",
"execution_count": 59,
"metadata": {
"collapsed": false
},
"outputs": [
{
import json
import networkx as nx
import romanesco
betweenness_centrality = {
'inputs': [
{'name': 'G',
'type': 'graph',
'format': 'networkx'},
{'name': 'node',
test 119
Start 119: packaging_rest_api
119: Test command: /home/dan/projects/girder/tests/packaging/test_rest_api.sh "/home/dan/projects/_girder_build/env/bin/activate" "/usr/bin/curl"
119: Test timeout computed to be: 1500
119: Detected api version 1.3.2
119: Girder responded with
119: Traceback (most recent call last):
119: File "<stdin>", line 2, in <module>
119: File "/home/dan/.pyenv/versions/3.4.3/lib/python3.4/json/__init__.py", line 318, in loads
59: Test command: /home/dan/.virtualenvs/girder/bin/python2.7 "-m" "unittest" "-v" "tests.web_client_test"
59: Test timeout computed to be: 1500
59: [09/Sep/2015:13:26:27] ENGINE Bus STARTING
59: [09/Sep/2015:13:26:27] ENGINE Started monitor thread 'Autoreloader'.
59: [09/Sep/2015:13:26:27] ENGINE Started monitor thread '_TimeoutMonitor'.
59: [09/Sep/2015:13:26:27] ENGINE Serving on http://0.0.0.0:30003
59: [09/Sep/2015:13:26:27] ENGINE Bus STARTED
59: testWebClientSpec (tests.web_client_test.WebClientTestCase) ... ERROR
59:
59: ======================================================================
import json
import os
import pickle
import re
import sys
try:
import requests
except:
pass
self.add_three = {
"inputs": [
{
"name": "a",
"type": "number",
"format": "number"
}
],
"outputs": [
{
~ girder-cli --host data.kitware.com --username "foo" --password "bar" -c upload 55882fe58d777fa4919ba1d1 playbook.retry
Uploading Item from playbook.retry
Traceback (most recent call last):
File "/usr/local/bin/girder-cli", line 9, in <module>
load_entry_point('girder-client==1.0.2', 'console_scripts', 'girder-cli')()
File "/usr/local/lib/python2.7/dist-packages/girder_client/cli.py", line 96, in main
reuse_existing=args.reuse)
File "/usr/local/lib/python2.7/dist-packages/girder_client/__init__.py", line 897, in upload
current_file, reuse_existing)
File "/usr/local/lib/python2.7/dist-packages/girder_client/__init__.py", line 764, in _upload_as_item
1 file changed, 6 insertions(+)
.../{executors/python.py => plugins/spark/pyspark_executor.py} | 6 ++++++
modified home/dan/projects/romanesco/romanesco/executors/python.py -> home/dan/projects/romanesco/romanesco/plugins/spark/pyspark_executor.py
@@ -4,8 +4,14 @@ import sys
def run(task, inputs, outputs, task_inputs, task_outputs, **kwargs):
+ from . import SC_KEY
+