Skip to content

Commit

Permalink
libary -> library
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHickman committed Jan 15, 2018
1 parent 055da79 commit 63fa4cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions gatkcwlgenerator/json2cwl.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ def cwl_generator(json_, cwl):
cwl["inputs"] = inputs
cwl["outputs"] = outputs

def get_js_libary():
js_libary_path = os.path.join(
def get_js_library():
js_library_path = os.path.join(
os.path.dirname(__file__),
"js_libary.js"
"js_library.js"
)

with open(js_libary_path) as file:
with open(js_library_path) as file:
return file.read()


JS_LIBARY = get_js_libary()
JS_LIBRARY = get_js_library()

def json2cwl(GATK_json, cwl_dir, cmd_line_options):
"""
Expand All @@ -82,7 +82,7 @@ def json2cwl(GATK_json, cwl_dir, cmd_line_options):
{
"class": "InlineJavascriptRequirement",
"expressionLib": [
PreservedScalarString(JS_LIBARY)
PreservedScalarString(JS_LIBRARY)
]
}
] + ([]
Expand Down

0 comments on commit 63fa4cd

Please sign in to comment.