- Read through the code to ensure it is:
- Legible
- Well-commented
- Free of any "code smells"
- Ensure the associated documentation is up to date.
- Compile it on your local machine and test the new functionality.
- Verify that the change is accompanied by adequate testing code. Verify that the code passes the tests.
This file contains 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
alert('This is on gist.github.com'); |
This file contains 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 cwl-runner | |
class: CommandLineTool | |
requirements: | |
- class: DockerRequirement | |
dockerImageId: 'ubuntu:latest' | |
inputs: | |
- id: "#source" |
This file contains 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 cwl-runner | |
cwlVersion: v1.0 | |
class: ExpressionTool | |
requirements: | |
- class: InlineJavascriptRequirement | |
inputs: | |
primary: | |
type: File |
I hereby claim:
- I am dleehr on github.
- I am leehro (https://keybase.io/leehro) on keybase.
- I have a public key whose fingerprint is 1CEC 11F4 F29E 68FC 12A4 B067 8A8B 8EAB EEA0 5DB7
To claim this, I am signing this object:
This file contains 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
#!/bin/bash | |
curl -SLH "Accept: text/bibliography; style=apa" http://dx.doi.org/$1 |
This file contains 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 | |
""" | |
Displays the file size of a DDS Project by ID | |
Loads config/credentials from ~/.ddsclient | |
Usage: python3 get_project_size.py c8f46e4d-635a-441a-b309-375818f1f7c1 | |
""" | |
import sys | |
from ddsc.config import create_config | |
from ddsc.core.remotestore import RemoteStore |
This file contains 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
from cwlgen.import_cwl import parse_cwl | |
from cwlgen import File, Workflow | |
from cwlgen.workflow import InputParameter | |
# Files in https://github.com/Duke-GCB/bespin-cwl/tree/qiime2-workflow | |
mkdir_tool = parse_cwl('EMPSingleEndSequences-directory.cwl') | |
import_tool = parse_cwl('tools-import.cwl') | |
w = Workflow() |
This file contains 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
{ | |
"$graph": [ | |
{ | |
"class": "Workflow", | |
"inputs": [ | |
{ | |
"type": [ | |
"null", | |
{ | |
"type": "array", |
This file contains 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
{ | |
"$graph": [ | |
{ | |
"class": "Workflow", | |
"inputs": [ | |
{ | |
"type": [ | |
"null", | |
{ | |
"type": "array", |
OlderNewer